From 63c28de2f5679077cef87953c3f88a622214553b Mon Sep 17 00:00:00 2001 From: cnixbtc <111755602+cnixbtc@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:12:22 +0200 Subject: [PATCH] Update build --- jitpack.yml | 2 ++ libs/sdk-bindings/bindings-android/buildForJitpack.sh | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/jitpack.yml b/jitpack.yml index ac56b5015..f0adf09c1 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,2 +1,4 @@ +before_install: + - yes | sdkmanager --uninstall "ndk-bundle" | sdkmanager --install "ndk;23.1.7779620" install: - ./libs/sdk-bindings/bindings-android/buildForJitpack.sh diff --git a/libs/sdk-bindings/bindings-android/buildForJitpack.sh b/libs/sdk-bindings/bindings-android/buildForJitpack.sh index ebcb0d145..c6245082e 100755 --- a/libs/sdk-bindings/bindings-android/buildForJitpack.sh +++ b/libs/sdk-bindings/bindings-android/buildForJitpack.sh @@ -11,12 +11,16 @@ cd $(dirname $0) cd .. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y source "$HOME/.cargo/env" +echo "ls ANDROID_HOME" ls $ANDROID_HOME echo "---" -yes | $ANDROID_HOME/tools/bin/sdkmanager --install "ndk;23.1.7779620" -ls $ANDROID_HOME/ndk -echo "---" +# yes | $ANDROID_HOME/tools/bin/sdkmanager --install "ndk;23.1.7779620" +# echo "ls ANDROID_HOME/ndk" +# ls $ANDROID_HOME/ndk +# echo "---" +echo "ls ANDROID_HOME/ndk-bundle" ls $ANDROID_HOME/ndk-bundle +echo "---" export ANDROID_NDK_HOME=$ANDROID_HOME/ndk-bundle make init make bindings-android