From f338cdc6154d8f33499018f28ca90ff0ca1f0d3e Mon Sep 17 00:00:00 2001 From: ardocrat Date: Wed, 1 May 2024 18:54:15 +0300 Subject: [PATCH] build: android release commands --- build_run_android.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build_run_android.sh b/build_run_android.sh index f74d286..7742de3 100755 --- a/build_run_android.sh +++ b/build_run_android.sh @@ -41,10 +41,12 @@ then yes | mkdir -p android/app/src/main/jniLibs/${arch} && cp -f target/${platform}/${type}/libgrim.so android/app/src/main/jniLibs/${arch} cd android ./gradlew clean + #./gradlew assembleRelease ./gradlew build # Install on several devices for SERIAL in $(adb devices | grep -v List | cut -f 1); do + #adb -s $SERIAL install app/build/outputs/apk/release/app-release.apk adb -s $SERIAL install app/build/outputs/apk/debug/app-debug.apk sleep 1s adb -s $SERIAL shell am start -n mw.gri.android/.MainActivity;