mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +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"
|
||||
yes | tools/bin/sdkmanager --licenses > /dev/null 2>&1 || echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > licenses/android-sdk-license
|
||||
cat licenses/android-sdk-license
|
||||
tools/bin/sdkmanager tools platform-tools 'platforms;'"${ANDROID_PLATFORMS}" 'build-tools;'"${ANDROID_BUILDTOOLS_REVISION}"
|
||||
echo ""
|
||||
else
|
||||
pushd "$ANDROID_SDK"
|
||||
|
|
Loading…
Reference in a new issue