Browse Source

Merge pull request #39103 from m4gr3d/enable_legacy_external_storage

Enable legacy external storage for Android 10
Rémi Verschelde 5 năm trước cách đây
mục cha
commit
f03bc21e09

+ 3 - 2
platform/android/java/lib/AndroidManifest.xml

@@ -4,16 +4,17 @@
     android:versionCode="1"
     android:versionCode="1"
     android:versionName="1.0">
     android:versionName="1.0">
 
 
-    <application>
+    <!-- TODO: Remove the 'requestLegacyExternalStorage' attribute when https://github.com/godotengine/godot/issues/38913 is resolved -->
+    <application android:requestLegacyExternalStorage="true">
 
 
         <service android:name=".GodotDownloaderService" />
         <service android:name=".GodotDownloaderService" />
 
 
     </application>
     </application>
 
 
     <instrumentation
     <instrumentation
+        android:name=".GodotInstrumentation"
         android:icon="@mipmap/icon"
         android:icon="@mipmap/icon"
         android:label="@string/godot_project_name_string"
         android:label="@string/godot_project_name_string"
-        android:name=".GodotInstrumentation"
         android:targetPackage="org.godotengine.godot" />
         android:targetPackage="org.godotengine.godot" />
 
 
 </manifest>
 </manifest>