Browse Source

android sdk fix

yogevbd 7 years ago
parent
commit
14f2f9fb58
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      scripts/env/env.android.sh

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

@@ -12,7 +12,7 @@ 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-darwin-3859397.zip | tar -x -z -C $ANDROID_HOME
15
+brew cask install android-sdk
16 16
 
17 17
 echo "Accepting Android Licenses"
18
-yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses
18
+yes | sdkmanager --licenses