Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
ewt45 committed Jul 16, 2024
1 parent 4300179 commit 0eeea31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ android {
enable true
reset()

include "x86", "x86_64", "armeabi-v7a", "arm64-v8a"
include /*"x86", "x86_64", "armeabi-v7a", */"arm64-v8a"
universalApk true
}

Expand All @@ -39,10 +39,10 @@ android {
buildTypes.debug {
signingConfig signingConfigs.debug
postprocessing {
removeUnusedCode true
removeUnusedResources true
removeUnusedCode false //true
removeUnusedResources false //true //Resource shrinker cannot be used for libraries.
obfuscate false
optimizeCode true
optimizeCode false //true removeUnusedCode和这个设为true的时候,会导致tapp引入aar依赖后构建时报错 java.lang.NullPointerException: Cannot invoke "com.android.tools.r8.graph.e0.J()" because the return value of "com.android.tools.r8.graph.L.b()" is null
}
}
}
Expand Down

0 comments on commit 0eeea31

Please sign in to comment.