github: download ndk directly instead of sdkmanager because sdkmanager sucks and ships ndk 22
This commit is contained in:
parent
2604ea39c5
commit
960a8959d5
1 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,10 @@ popd
|
||||||
|
|
||||||
echo "Download all needed tools and NDK"
|
echo "Download all needed tools and NDK"
|
||||||
yes | sdk/tools/bin/sdkmanager --licenses > /dev/null 2>/dev/null # who even reads licenses? :)
|
yes | sdk/tools/bin/sdkmanager --licenses > /dev/null 2>/dev/null # who even reads licenses? :)
|
||||||
sdk/tools/bin/sdkmanager --install build-tools\;29.0.1 platform-tools platforms\;android-29 ndk-bundle > /dev/null 2>/dev/null
|
sdk/tools/bin/sdkmanager --install build-tools\;29.0.1 platform-tools platforms\;android-29 > /dev/null 2>/dev/null
|
||||||
|
wget https://dl.google.com/android/repository/android-ndk-r23b-linux.zip -qO ndk.zip > /dev/null || exit 1
|
||||||
|
unzip -q ndk.zip || exit 1
|
||||||
|
mv android-ndk-r23b sdk/ndk-bundle || exit 1
|
||||||
|
|
||||||
echo "Download Xash3D FWGS Android source"
|
echo "Download Xash3D FWGS Android source"
|
||||||
git clone --depth 1 https://github.com/FWGS/xash3d-android-project -b waf android || exit 1
|
git clone --depth 1 https://github.com/FWGS/xash3d-android-project -b waf android || exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue