Skip to content

Commit

Permalink
android test
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Nov 27, 2024
1 parent 015b408 commit 6fb5420
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_android2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6fb5420

Please sign in to comment.