Преглед изворни кода

Fix Android templates size regression

The issue was caused by PR #36906 which changes prevented the generated shared libraries from being stripped.
Since the change is only needed for development (debugging) purposes, it's commented out by default.
Fredia Huya-Kouadio пре 5 година
родитељ
комит
2f38cfd9ab
2 измењених фајлова са 6 додато и 2 уклоњено
  1. 3 1
      platform/android/java/app/build.gradle
  2. 3 1
      platform/android/java/lib/build.gradle

+ 3 - 1
platform/android/java/app/build.gradle

@@ -76,7 +76,9 @@ android {
     packagingOptions {
         exclude 'META-INF/LICENSE'
         exclude 'META-INF/NOTICE'
-        doNotStrip '**/*.so'
+
+        // Should be uncommented for development purpose within Android Studio
+        // doNotStrip '**/*.so'
     }
 
     // Both signing and zip-aligning will be done at export time

+ 3 - 1
platform/android/java/lib/build.gradle

@@ -26,7 +26,9 @@ android {
     packagingOptions {
         exclude 'META-INF/LICENSE'
         exclude 'META-INF/NOTICE'
-        doNotStrip '**/*.so'
+
+        // Should be uncommented for development purpose within Android Studio
+        // doNotStrip '**/*.so'
     }
 
     sourceSets {