From 735a99b69599b2c637261a921a05333057bd3fb5 Mon Sep 17 00:00:00 2001 From: yangkezun <33239620+yangkezun@users.noreply.github.com> Date: Mon, 23 Mar 2020 08:16:52 +0800 Subject: [PATCH] Update AndroidManifest.xml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决Android10下有文件访问权限但读取模型还是失败的问题。 --- Prj-Android/app/src/main/AndroidManifest.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Prj-Android/app/src/main/AndroidManifest.xml b/Prj-Android/app/src/main/AndroidManifest.xml index 00d4fb5..dbcbde2 100755 --- a/Prj-Android/app/src/main/AndroidManifest.xml +++ b/Prj-Android/app/src/main/AndroidManifest.xml @@ -41,6 +41,7 @@ android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" + android:requestLegacyExternalStorage="true" android:supportsRtl="true" android:theme="@style/AppTheme"> @@ -54,4 +55,4 @@ /> - \ No newline at end of file +