mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Android build: explicitly install using sdkmanager
Make sure all required Android SDK components are explicitly installed before starting the actual build. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
6c872931d5
commit
b6d5dacd51
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ if [ ! -d "$ANDROID_SDK"/build-tools/"${ANDROID_BUILDTOOLS_REVISION}" ] ; then
|
||||||
unzip -q ../"$SDK_TOOLS"
|
unzip -q ../"$SDK_TOOLS"
|
||||||
yes | tools/bin/sdkmanager --licenses > /dev/null 2>&1 || echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > licenses/android-sdk-license
|
yes | tools/bin/sdkmanager --licenses > /dev/null 2>&1 || echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > licenses/android-sdk-license
|
||||||
cat licenses/android-sdk-license
|
cat licenses/android-sdk-license
|
||||||
|
tools/bin/sdkmanager tools platform-tools 'platforms;'"${ANDROID_PLATFORMS}" 'build-tools;'"${ANDROID_BUILDTOOLS_REVISION}"
|
||||||
echo ""
|
echo ""
|
||||||
else
|
else
|
||||||
pushd "$ANDROID_SDK"
|
pushd "$ANDROID_SDK"
|
||||||
|
|
Loading…
Add table
Reference in a new issue