0 Members and 1 Guest are viewing this topic.
On the Settings > Privacy > Permission manager > Files and media page, each app that has the permission is listed under Allowed for all files. If your app targets Android 11, keep in mind that this access to "all files" is read-only. To read and write to all files in shared storage using this app, you need to have the all files access permission.
These are the limitations of the system itself and the developers are forced to follow it. Users need to go deep into the settings and grant access.
main 17/06/2021 10:29:47.964 D/App: v3.20 Beta 2, build 1131 (04.06.2021)main 17/06/2021 10:29:47.965 D/App: Xiaomi(MI 9 SE, Android v11)main 17/06/2021 10:29:56.212 D/App: applyLocale(de_DE)main 17/06/2021 10:29:56.250 D/Browser: goToPath()AIMP::FileListActivity 17/06/2021 10:29:56.257 D/Browser: rescan()main 17/06/2021 10:29:57.425 E/PermissionsExpert: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT_TREE flg=0x40 (has extras) } android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2067) android.app.Instrumentation.execStartActivity(Instrumentation.java:1727) android.app.Activity.startActivityForResult(Activity.java:5320) android.app.Activity.startActivityForResult(Activity.java:5278) com.aimp.library.utils.PermissionsExpert.startActivityForResult(PermissionsExpert.java:176) com.aimp.player.AppActivity.startActivityForResult(AppActivity.java:242) com.aimp.player.views.FileList.FileListDialogs.lambda$createDocumentStorageCreator$13(FileListDialogs.java:198) com.aimp.player.views.FileList.-$$Lambda$FileListDialogs$nYDJ25Ls3521T9AhO1cMHn9Vffc.execute(Unknown Source:0) com.aimp.player.views.FileList.FileListDialogs.showStorageCreatorDialog(FileListDialogs.java:114) com.aimp.player.views.FileList.FileListDialogs.showAddScopedStorageDialog(FileListDialogs.java:75) com.aimp.player.views.FileList.Mode.ModeBasic.lambda$updateBannerText$13(ModeBasic.java:575) com.aimp.player.views.FileList.Mode.ModeBasic.lambda$updateBannerText$13$ModeBasic(Unknown Source:0) com.aimp.player.views.FileList.Mode.-$$Lambda$ModeBasic$SMzZ1r7W-5qjknmWzj0GpplLaQc.run(Unknown Source:2) com.aimp.player.views.FileList.Mode.ListAdapter.lambda$new$0(ListAdapter.java:304) com.aimp.player.views.FileList.Mode.ListAdapter.lambda$new$0$ListAdapter(Unknown Source:0) com.aimp.player.views.FileList.Mode.-$$Lambda$ListAdapter$erm3jkj9Sm3NJDDJ6YZELZPUdY8.onClick(Unknown Source:2) android.view.View.performClick(View.java:7448) android.view.View.performClickInternal(View.java:7425) android.view.View.access$3600(View.java:810) android.view.View$PerformClick.run(View.java:28306) android.os.Handler.handleCallback(Handler.java:938) android.os.Handler.dispatchMessage(Handler.java:99) android.os.Looper.loop(Looper.java:223) android.app.ActivityThread.main(ActivityThread.java:7661) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)--------------------------------------------------------------------------main 17/06/2021 10:30:00.792 E/PermissionsExpert: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT_TREE flg=0x40 (has extras) } android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2067) android.app.Instrumentation.execStartActivity(Instrumentation.java:1727) android.app.Activity.startActivityForResult(Activity.java:5320) android.app.Activity.startActivityForResult(Activity.java:5278) com.aimp.library.utils.PermissionsExpert.startActivityForResult(PermissionsExpert.java:176) com.aimp.player.AppActivity.startActivityForResult(AppActivity.java:242) com.aimp.player.views.FileList.FileListDialogs.lambda$createDocumentStorageCreator$13(FileListDialogs.java:198) com.aimp.player.views.FileList.-$$Lambda$FileListDialogs$nYDJ25Ls3521T9AhO1cMHn9Vffc.execute(Unknown Source:0) com.aimp.player.views.FileList.FileListDialogs.showStorageCreatorDialog(FileListDialogs.java:114) com.aimp.player.views.FileList.FileListDialogs.showAddScopedStorageDialog(FileListDialogs.java:75) com.aimp.player.views.FileList.FileListDialogs.lambda$showAddStorageDialog$0(FileListDialogs.java:81) com.aimp.player.views.FileList.-$$Lambda$FileListDialogs$_d2a3vKs56z0M95-LLYBGB5MUt8.run(Unknown Source:2) com.aimp.library.utils.Safe.call(Safe.java:38) com.aimp.ui.menu.MenuBuilder.runAction(MenuBuilder.java:153) com.aimp.ui.dialogs.BottomMessageDialog$Builder.lambda$setSingleChoiceItems$0(BottomMessageDialog.java:215) com.aimp.ui.dialogs.-$$Lambda$BottomMessageDialog$Builder$6dRJkcqlXwDeKaYQxkOCLdvC9mk.onClick(Unknown Source:2) com.aimp.ui.dialogs.BottomMessageDialog$BottomMessageDialogListView.lambda$bind$0(BottomMessageDialog.java:347) com.aimp.ui.dialogs.BottomMessageDialog$BottomMessageDialogListView.lambda$bind$0$BottomMessageDialog$BottomMessageDialogListView(Unknown Source:0) com.aimp.ui.dialogs.-$$Lambda$BottomMessageDialog$BottomMessageDialogListView$63A86cJpCe6X8LdApKIIwJ_t3lA.onItemClick(Unknown Source:8) android.widget.AdapterView.performItemClick(AdapterView.java:330) android.widget.AbsListView.performItemClick(AbsListView.java:1187) android.widget.AbsListView$PerformClick.run(AbsListView.java:3179) android.os.Handler.handleCallback(Handler.java:938) android.os.Handler.dispatchMessage(Handler.java:99) android.os.Looper.loop(Looper.java:223) android.app.ActivityThread.main(ActivityThread.java:7661) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)--------------------------------------------------------------------------main 17/06/2021 10:34:12.278 D/App: applyLocale(de_DE)main 17/06/2021 10:34:12.371 D/App: applyLocale(de_DE)