Android Q (10) ask permission to get access all storage. Scoped storage

后端 未结 3 584
自闭症患者
自闭症患者 2020-12-10 02:03

In Android 10 apps that need to access storage need to ask permission to access a concrete path. But apps like file explorer can ask permission for access to the root storag

3条回答
  •  独厮守ぢ
    2020-12-10 02:55

    you must add this line in your AndroidManifest.xml

    android:requestLegacyExternalStorage="true"
    

提交回复
热议问题