BlueStar
BlueStar

Reputation: 435

Permission denied in Android Emulator Device File Explorer

Device File Explorer screenshot

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?

Upvotes: 39

Views: 28718

Answers (4)

Andrew
Andrew

Reputation: 321

The correct location for my emulator was data/data/app_name/ as per the docs that phlip referred to.

Upvotes: 4

skirodge
skirodge

Reputation: 1090

/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>.

Upvotes: 49

Mike Adamenko
Mike Adamenko

Reputation: 3002

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)

see details here

Upvotes: 15

ankitsinh corepix
ankitsinh corepix

Reputation: 89

cause there is system files located and for your access device file open self-> primary folder.

Upvotes: 5

Related Questions