소스 검색

android sdk fix

yogevbd 7 년 전
부모
커밋
14f2f9fb58
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      scripts/env/env.android.sh

+ 2
- 2
scripts/env/env.android.sh 파일 보기

12
 touch ~/.android/repositories.cfg
12
 touch ~/.android/repositories.cfg
13
 
13
 
14
 echo "Downloading Android SDK"
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
 echo "Accepting Android Licenses"
17
 echo "Accepting Android Licenses"
18
-yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses
18
+yes | sdkmanager --licenses