|
@@ -12,7 +12,8 @@ mkdir -p ~/.android
|
12
|
12
|
touch ~/.android/repositories.cfg
|
13
|
13
|
|
14
|
14
|
echo "Downloading Android SDK"
|
15
|
|
-curl --location https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip | tar -x -z -C $ANDROID_HOME
|
|
15
|
+curl https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip > android-sdk.zip
|
|
16
|
+unzip android-sdk.zip -d $ANDROID_HOME
|
16
|
17
|
|
17
|
18
|
echo "Accepting Android Licenses"
|
18
|
19
|
yes | sdkmanager --licenses
|