Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
cnixbtc committed Jun 29, 2023
1 parent b85f6d1 commit 63c28de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 7 additions & 3 deletions libs/sdk-bindings/bindings-android/buildForJitpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63c28de

Please sign in to comment.