diff --git a/scripts/build-android.sh b/scripts/build-android.sh index 3b0a5a2..26ae9af 100644 --- a/scripts/build-android.sh +++ b/scripts/build-android.sh @@ -14,7 +14,8 @@ cargo install cargo-ndk --locked # Build the android libraries in the jniLibs directory if [ "$#" -eq 0 ]; then - rustup target add \ + echo ">>>>>>>>>>>>>>>>>> add all" + time rustup target add \ aarch64-linux-android \ armv7-linux-androideabi \ x86_64-linux-android \ @@ -42,7 +43,8 @@ elif [ "$1" = "armv7" ]; then rustup target add armv7-linux-androideabi cargo ndk -o $JNI_DIR --manifest-path ../Cargo.toml -t armeabi-v7a build --release elif [ "$1" = "arm64" ]; then - rustup target add aarch64-linux-android + echo ">>>>>>>>>>>>>>>>>> add one" + time rustup target add aarch64-linux-android cargo ndk -o $JNI_DIR --manifest-path ../Cargo.toml -t arm64-v8a build --release else echo "Invalid architecture: '$1'"