diff options
Diffstat (limited to 'scripts/init.sh')
-rwxr-xr-x | scripts/init.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/init.sh b/scripts/init.sh index 647e2ef5..26e8394b 100755 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -41,10 +41,12 @@ if [ -z ${SDK_PATH} ]; then mv android-sdk-linux sdk fi mkdir -p sdk/licenses - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "sdk/licenses/android-sdk-license" - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "sdk/licenses/android-sdk-preview-license" + mkdir -p sdk/licenses + echo "\nd56f5187479451eabf01fb78af6dfcb131a6481e" > "sdk/licenses/android-sdk-license" + echo "\n84831b9409646a918e30573bab4c9c91346d8abd" > "sdk/licenses/android-sdk-preview-license" echo "y" | ./sdk/tools/android update sdk --filter platform-tools,build-tools-23.0.2,android-23,extra-android-m2repository,extra-google-m2repository --no-ui --all --force - echo "y" | ./sdk/tools/android update sdk --filter "android-23" --no-ui --all --forceecho y | ./sdk/tools/android update sdk --no-ui --all --filter build-tools-23.0.2 + echo "y" | ./sdk/tools/android update sdk --filter "android-23" --no-ui --all --force + echo "y" | ./sdk/tools/android update sdk --no-ui --all --filter build-tools-23.0.2 fi cd .. fi |