From 5b87aff0216bff906d69fbe5c430ea54f6077e71 Mon Sep 17 00:00:00 2001 From: shagr4th Date: Sun, 18 Dec 2016 23:37:14 +0100 Subject: [PATCH] Use of Relinker to avoid all the UnsatisfiedLinkError piling up --- app/build.gradle | 5 +- app/src/main/AndroidManifest.xml | 2 +- app/src/main/java/org/ab/x48/HPView.java | 1 - app/src/main/java/org/ab/x48/X48.java | 83 ++++++++++++++++-------- build.gradle | 1 + 5 files changed, 61 insertions(+), 31 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 75ad731..b7f2f11 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,7 +6,7 @@ model { defaultConfig { applicationId "org.ab.x48" - minSdkVersion.apiLevel 8 + minSdkVersion.apiLevel 9 targetSdkVersion.apiLevel 24 } @@ -22,4 +22,7 @@ model { } } } +} +dependencies { + compile 'com.getkeepsafe.relinker:relinker:1.2.2' } \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 65516ad..b538274 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="org.ab.x48" android:installLocation="auto" android:versionCode="69" android:versionName="1.69">