Explorar el Código

Ensure that Godot's version of libc++_shared.so is always selected in case dependencies have their own

Mauricio Narvaez hace 1 año
padre
commit
28f357733f
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      platform/android/java/app/build.gradle

+ 6 - 0
platform/android/java/app/build.gradle

@@ -124,6 +124,12 @@ android {
             // - https://stackoverflow.com/a/44704840
             useLegacyPackaging shouldUseLegacyPackaging()
         }
+
+        // Always select Godot's version of libc++_shared.so in case deps have their own
+        pickFirst 'lib/x86/libc++_shared.so'
+        pickFirst 'lib/x86_64/libc++_shared.so'
+        pickFirst 'lib/armeabi-v7a/libc++_shared.so'
+        pickFirst 'lib/arm64-v8a/libc++_shared.so'
     }
 
     signingConfigs {