File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,13 @@ before_install:
99 - rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
1010 # Install cargo-ndk
1111 - cargo install cargo-ndk
12- # Install NDK using cmdline-tools (compatible with Java 17)
13- - yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses
14- - yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "ndk;26.2.11394342"
12+ # Install NDK
13+ - yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses
14+ - yes | $ANDROID_HOME/tools/bin/sdkmanager --install "ndk;26.2.11394342"
15+ # Create local.properties for Android SDK location
16+ - echo "sdk.dir=$ANDROID_HOME" > android/local.properties
1517
1618install :
17- - touch android/local.properties
1819 - cd android && ./gradlew :core:publishToMavenLocal -PVERSION_NAME=$VERSION
1920
2021env :
You can’t perform that action at this time.
0 commit comments