|
@@ -21,15 +21,17 @@ org.gradle.jvmargs=-Xmx5120m -XX:MaxMetaspaceSize=512m
|
|
|
# Android operating system, and which are packaged with your app's APK
|
|
# Android operating system, and which are packaged with your app's APK
|
|
|
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
|
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
|
|
android.useAndroidX=true
|
|
android.useAndroidX=true
|
|
|
-# Automatically convert third-party libraries to use AndroidX
|
|
|
|
|
-android.enableJetifier=true
|
|
|
|
|
-
|
|
|
|
|
|
|
+android.enableJetifier=false
|
|
|
|
|
+# 强制 AAB 打包工具在处理原生库时使用 16KB 对齐逻辑
|
|
|
|
|
+android.useLegacyPackaging=false
|
|
|
|
|
+android.bundle.enableUncompressedNativeLibs=true
|
|
|
|
|
+android.bundle.enableResourceOptimizations=false
|
|
|
# Use this property to specify which architecture you want to build.
|
|
# Use this property to specify which architecture you want to build.
|
|
|
# You can also override it from the CLI using
|
|
# You can also override it from the CLI using
|
|
|
# ./gradlew <task> -PreactNativeArchitectures=x86_64
|
|
# ./gradlew <task> -PreactNativeArchitectures=x86_64
|
|
|
# reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
|
# reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
|
|
reactNativeArchitectures=arm64-v8a
|
|
reactNativeArchitectures=arm64-v8a
|
|
|
-
|
|
|
|
|
|
|
+reactNative.enable16KPageSize=true
|
|
|
# Use this property to enable support to the new architecture.
|
|
# Use this property to enable support to the new architecture.
|
|
|
# This will allow you to use TurboModules and the Fabric render in
|
|
# This will allow you to use TurboModules and the Fabric render in
|
|
|
# your application. You should enable this flag either if you want
|
|
# your application. You should enable this flag either if you want
|
|
@@ -42,8 +44,4 @@ newArchEnabled=true
|
|
|
hermesEnabled=true
|
|
hermesEnabled=true
|
|
|
|
|
|
|
|
# VisionCamera settings
|
|
# VisionCamera settings
|
|
|
-VisionCamera_enableCodeScanner=true
|
|
|
|
|
-
|
|
|
|
|
-android.nonTransitiveRClass=false
|
|
|
|
|
-android.buildFeatures.buildConfig = true
|
|
|
|
|
-#android.aapt2FromMavenOverride=D:/Android/android-sdk/build-tools/35.0.1/aapt2.exe
|
|
|
|
|
|
|
+VisionCamera_enableCodeScanner=true
|