0

I am unable to read the data stored in the external storage directory even after giving the READ_EXTERNAL_STORAGE permissions in manifest.xml file.

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>

In the android device monitor of my emulator, I can see that my storage directory doesn't have all the required permissions. The link is below.

android device monitor screenshot

Can someone please help me with this.

maxshuty
  • 9,708
  • 13
  • 64
  • 77
Nikhil
  • 51
  • 1
  • 11
  • What version of Android are you testing on? What is your `targetSdkVersion` (e.g., in your `app/build.gradle` file)? Is that `` element in the proper place in the manifest? See: https://commonsware.com/blog/2015/08/31/hey-where-did-my-permission-go.html – CommonsWare Oct 30 '15 at 17:01
  • Thanks a lot. My target sdk version was 23 and I changed it to 22 and it worked. – Nikhil Oct 30 '15 at 17:10

0 Answers0