From 4293f9a5c5eab8fc8767a85320d717421633fb2e Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 28 Sep 2021 01:29:18 +0000 Subject: [PATCH] Try new paths for Android NDK library search I'm not sure where these paths came from to begin with, but [1] seems to indicate they're wrong, so let's try new ones. [1] https://developer.android.com/ndk/guides/abis#sa --- android-build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android-build.sh b/android-build.sh index fe90de72..b31b0c71 100755 --- a/android-build.sh +++ b/android-build.sh @@ -57,10 +57,10 @@ ls ldk-java-classes.jar rm -rf aar mkdir aar cp -r "$3/"* ./aar/ -mkdir -p ./aar/jni/{arm64,armeabi,x86,x86_64} +mkdir -p ./aar/jni/{armeabi-v7a,arm64-v8a,x86,x86_64} -cp liblightningjni_release_aarch64-linux-android.so ./aar/jni/arm64/liblightningjni.so -cp liblightningjni_release_armv7-linux-androideabi.so ./aar/jni/armeabi/liblightningjni.so +cp liblightningjni_release_aarch64-linux-android.so ./aar/jni/arm64-v8a/liblightningjni.so +cp liblightningjni_release_armv7-linux-androideabi.so ./aar/jni/armeabi-v7a/liblightningjni.so cp liblightningjni_release_i686-linux-android.so ./aar/jni/x86/liblightningjni.so cp liblightningjni_release_x86_64-linux-android.so ./aar/jni/x86_64/liblightningjni.so cp ldk-java-classes.jar ./aar/classes.jar -- 2.39.5