From 93cc8304359ae5e93063bcd0f4cf0dbd1539a33c Mon Sep 17 00:00:00 2001 From: JimmySnails Date: Sat, 18 Apr 2020 13:15:12 +0200 Subject: [PATCH 1/3] also build arm64-v8a --- platforms/android/android-app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/android/android-app/build.gradle b/platforms/android/android-app/build.gradle index 5854e57..5b66319 100644 --- a/platforms/android/android-app/build.gradle +++ b/platforms/android/android-app/build.gradle @@ -25,7 +25,7 @@ android { //abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86", "x86_64" // Limiting to a smaller set of ABIs to save time while testing: - abiFilters "x86", "armeabi-v7a" + abiFilters "x86", "armeabi-v7a", "arm64-v8a" } } From 50c611aacd5d3c76b69b02796a1a7b58fb4aafc9 Mon Sep 17 00:00:00 2001 From: JimmySnails Date: Sun, 19 Apr 2020 10:39:07 +0200 Subject: [PATCH 2/3] add a+x permissions to gradlew --- platforms/android/gradlew | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 platforms/android/gradlew diff --git a/platforms/android/gradlew b/platforms/android/gradlew old mode 100644 new mode 100755 From ebb574a84f3b2f17b0722890ed48b8936139d7ff Mon Sep 17 00:00:00 2001 From: JimmySnails Date: Sun, 19 Apr 2020 11:26:01 +0200 Subject: [PATCH 3/3] do not prepend nativeLibDir. there was a change in the more revent ndks that prepends the path automatically, preventing the build from working with more recent ndks than r18b --- .../android-app/src/main/java/org/libsdl/app/SDLActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/android/android-app/src/main/java/org/libsdl/app/SDLActivity.java b/platforms/android/android-app/src/main/java/org/libsdl/app/SDLActivity.java index a426ae0..5bcc620 100644 --- a/platforms/android/android-app/src/main/java/org/libsdl/app/SDLActivity.java +++ b/platforms/android/android-app/src/main/java/org/libsdl/app/SDLActivity.java @@ -120,7 +120,7 @@ protected String getMainSharedObject() { } else { library = "libmain.so"; } - return getContext().getApplicationInfo().nativeLibraryDir + "/" + library; + return library; } /**