Disable release postprocessing (Proguard)
Caused the following error for someone: Detected problmes with app native libraries (please consult log for detail): libavcoded.so: text relocations libswresample.so:test relocations
This commit is contained in:
parent
bbc00768f0
commit
628c525599
2 changed files with 8 additions and 8 deletions
|
@ -67,13 +67,13 @@ android {
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
}
|
}
|
||||||
release {
|
release {
|
||||||
postprocessing {
|
// postprocessing {
|
||||||
obfuscate false
|
// obfuscate false
|
||||||
optimizeCode true
|
// optimizeCode true
|
||||||
removeUnusedCode false
|
// removeUnusedCode false
|
||||||
removeUnusedResources true
|
// removeUnusedResources true
|
||||||
proguardFiles 'proguard-rules.pro'
|
// proguardFiles 'proguard-rules.pro'
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ buildscript {
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("com.github.zellius:android-shortcut-gradle-plugin:0.1.2")
|
classpath("com.github.zellius:android-shortcut-gradle-plugin:0.1.2")
|
||||||
classpath("com.google.gms:google-services:4.3.4")
|
classpath("com.google.gms:google-services:4.3.4")
|
||||||
classpath("com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:" + BuildPluginsVersion.ABOUTLIB_PLUGIN)
|
classpath("com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:${BuildPluginsVersion.ABOUTLIB_PLUGIN}")
|
||||||
classpath(kotlin("serialization", version = BuildPluginsVersion.KOTLIN))
|
classpath(kotlin("serialization", version = BuildPluginsVersion.KOTLIN))
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
|
|
Reference in a new issue