From 628c52559995ed52bccd24eb13c61e6e8115e82a Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 12 Dec 2020 23:50:05 -0500 Subject: [PATCH] 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 --- app/build.gradle | 14 +++++++------- build.gradle.kts | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 096e8669f..92e65f37d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -67,13 +67,13 @@ android { applicationIdSuffix ".debug" } release { - postprocessing { - obfuscate false - optimizeCode true - removeUnusedCode false - removeUnusedResources true - proguardFiles 'proguard-rules.pro' - } +// postprocessing { +// obfuscate false +// optimizeCode true +// removeUnusedCode false +// removeUnusedResources true +// proguardFiles 'proguard-rules.pro' +// } } } diff --git a/build.gradle.kts b/build.gradle.kts index 4430339fb..fb499bcad 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -27,7 +27,7 @@ buildscript { dependencies { classpath("com.github.zellius:android-shortcut-gradle-plugin:0.1.2") 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)) } repositories {