Browse Source

android sdk fix (#2712)

* android sdk fix
yogevbd 6 years ago
parent
commit
4cd0a08e75
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      scripts/env/env.android.sh

+ 2
- 1
scripts/env/env.android.sh View File

@@ -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