From 6fb54202587febfcf16993e97ce441622bfd946f Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Thu, 28 Nov 2024 00:11:28 +1100 Subject: [PATCH] android test --- .github/workflows/build_android2.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_android2.yml b/.github/workflows/build_android2.yml index f490358..c999465 100644 --- a/.github/workflows/build_android2.yml +++ b/.github/workflows/build_android2.yml @@ -29,7 +29,6 @@ jobs: NDK_ROOT="$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin" TOOLS_ROOT="$ANDROID_SDK_ROOT/build-tools/31.0.0" SDK_ROOT="$ANDROID_SDK_ROOT/platforms/android-34" - find $ANDROID_SDK_ROOT -name "*d8*" cd $ROOT_DIR/src $NDK_ROOT/armv7a-linux-androideabi21-clang *.c $DROID_FLAGS -march=armv5 $DROID_LIBS $LATEST_FLAG -o cc-droid-arm_16 @@ -61,12 +60,13 @@ jobs: cd $ROOT_DIR/android/app/src/main # get debug signing key echo -n "${{ secrets.ANDROID_SIGNING_KEY_BASE64 }}" | base64 --decode > debug.keystore - find $ROOT_DIR -name "*.class" -printf "%p " + find $ROOT_DIR -name "*.class" CLASSES_LIST="$(find $ROOT_DIR -name "*.class" -printf '%p ')" - + echo $CLASSES_LIST # compile the multiple .class files into one .dex file - $TOOLS_ROOT/d8 $CLASSES_LIST --output classes.dex + $TOOLS_ROOT/d8 $CLASSES_LIST + find . -name "*.dex" # create initial .apk with packaged version of resources $TOOLS_ROOT/aapt package -f -M AndroidManifest.xml -S res -F cc-unsigned.apk -I $SDK_ROOT/android.jar #$TOOLS_ROOT/aapt add -f cc-unsigned.apk classes.dex lib/armeabi/libclassicube.so lib/armeabi-v7a/libclassicube.so lib/arm64-v8a/libclassicube.so lib/x86/libclassicube.so lib/x86_64/libclassicube.so