Home > Mobile >  Write the external storage permission problems
Write the external storage permission problems

Time:02-04

AS for the sentence the yellow & lt; USES - the permission of the android: name="android. Permission. WRITE_EXTERNAL_STORAGE"/& gt;
A
WRITE_EXTERNAL_STORAGE no longer provides the write access the when targeting Android 10 +
Bear new excuse me how can I change money?

CodePudding user response:

For targetSdkVersion for 29, can only access their own partition storage, cannot access other path, can
 android: requestLegacyExternalStorage="true" 

To ignore this, but if the targetSdkVersion to 30, will force the use of a partition to store
So either you abide by the Google code, the use of partition storage, or reduce the targetSdkVersion to 28 or 29 and set the android: requestLegacyExternalStorage to true
  • Related