gpt4 book ai didi

javascript - 我无需 root 即可看到的任何内存文件夹的路径是什么? AndroidStudio

转载 作者:行者123 更新时间:2023-12-01 22:31:21 27 4
gpt4 key购买 nike

嗯,我遇到的问题是,到目前为止我在 f.exist () 中使用的地址是/data/data/com.example.mmripre/files/问题是我无法从手机上看到它来分析数据,所以我需要另一个文件夹的路径(如果我可以看到)

最佳答案

您可以直接从android studio查看设备文件。 https://developer.android.com/studio/debug/device-file-explorer

只需单击 IDE 右侧的“设备文件资源管理器”

  1. Click View > Tool Windows > Device File Explorer or click the Device File Explorer button in the tool window bar to open the Device File Explorer.

  2. Select a device from the drop down list.

  3. Interact with the device content in the file explorer window. Right-click on a file or directory to create a new file or directory, save the selected file or directory to your machine, upload, delete, or synchronize. Double-click a file to open it in Android Studio.

Android Studio saves files you open this way in a temporary directory outside of your project. If you make modifications to a file you opened using the Device File Explorer, and would like to save your changes back to the device, you must manually upload the modified version of the file to the device.

enter image description here

关于javascript - 我无需 root 即可看到的任何内存文件夹的路径是什么? AndroidStudio,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58549436/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com