electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 54d468f457ea1cf50f17eccbc2d6ea26e4c5dd18
parent 75afd06ca3c5d25051014c29b716f73f68ac79f8
Author: SomberNight <somber.night@protonmail.com>
Date:   Sun,  1 Sep 2019 15:38:26 +0200

android apk: build two apks. ARMv7 and ARMv8

Diffstat:
Mcontrib/make_apk | 9+++++++++
Melectrum/gui/kivy/tools/buildozer.spec | 1+
2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/contrib/make_apk b/contrib/make_apk @@ -28,12 +28,17 @@ if [[ -n "$1" && "$1" == "release" ]] ; then export P4A_RELEASE_KEYSTORE_PASSWD=$password export P4A_RELEASE_KEYALIAS_PASSWD=$password export P4A_RELEASE_KEYALIAS=electrum + # build two apks + export APP_ANDROID_ARCH=armeabi-v7a + make release + export APP_ANDROID_ARCH=arm64-v8a make release else export P4A_DEBUG_KEYSTORE="$CONTRIB"/android_debug.keystore export P4A_DEBUG_KEYSTORE_PASSWD=unsafepassword export P4A_DEBUG_KEYALIAS_PASSWD=unsafepassword export P4A_DEBUG_KEYALIAS=electrum + # create keystore if needed if [ ! -f "$P4A_DEBUG_KEYSTORE" ]; then keytool -genkey -v -keystore "$CONTRIB"/android_debug.keystore \ -alias "$P4A_DEBUG_KEYALIAS" -keyalg RSA -keysize 2048 -validity 10000 \ @@ -41,6 +46,10 @@ else -storepass "$P4A_DEBUG_KEYSTORE_PASSWD" \ -keypass "$P4A_DEBUG_KEYALIAS_PASSWD" fi + # build two apks + export APP_ANDROID_ARCH=armeabi-v7a + make apk + export APP_ANDROID_ARCH=arm64-v8a make apk fi diff --git a/electrum/gui/kivy/tools/buildozer.spec b/electrum/gui/kivy/tools/buildozer.spec @@ -136,6 +136,7 @@ android.manifest.launch_mode = singleTask #android.wakelock = False # (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64 +# note: can be overwritten by APP_ANDROID_ARCH env var android.arch = armeabi-v7a # (list) Android application meta-data to set (key=value format)