I want to check if a folder has been created in the External Storage.
I already added permissions inside the AndroidManifest.xml
:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
but it doesn't work either.
Any clue?
/sdcard
is a symlink to /storage/emulated/0
. You should therefore be able to see external files for your app in /sdcard/Android/data/<your app>
.
Looks like you are using Google Play system image.
You need to use a standard Android (AOSP) system image (not one of the Google APIs or Google Play system images)
因为存在系统文件,并且为您的访问设备文件打开 self-> 主文件夹。
根据 phlip 提到的文档,我的模拟器的正确位置是data/data/app_name/
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.