0

I want to create a Directory in android 11 and save a PDF file in it.

 android:requestLegacyExternalStorage="true"

this tag only works in android 10 but not working in android 11.Here is the image of error enter image description here

Muhammad Asad
  • 694
  • 6
  • 10
  • Requesting legacy external storage only makes sense for an Android 10 device. – blackapps Apr 02 '21 at 06:02
  • Creating directories is like you used to do it. But not on all places. You did not tell where. In which directory. Better show your code. Dont use images to give us info. Post text only. – blackapps Apr 02 '21 at 06:03

1 Answers1

0

You have limited access to public directories. You can check from here which folder you can read and write data on And 10-11.

You can also do whatever you want in internal storage. I mean you can create folder on your own application folder.

JDevoloper
  • 227
  • 4
  • 17