Cannot Write to sdcard in Android emulator

后端 未结 4 1383
Happy的楠姐
Happy的楠姐 2020-12-06 11:10

I have added this line in the AndroidManifest.xml:


How

4条回答
  •  Happy的楠姐
    2020-12-06 11:54

    I notice that this problem can occur if you are using an Android 6.0 emulator, Android added new permission model for (Marshmallow).

    Trick: If you are targeting version 22 or below, your application will request all permissions at install time just as it would on any device running an OS below Marshmallow

提交回复
热议问题