Daniel Zlotin 8 anni fa
parent
commit
5e21d42fa3
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7
    0
      scripts/installAndroidSDK.sh

+ 7
- 0
scripts/installAndroidSDK.sh Vedi File

@@ -1,7 +1,14 @@
1 1
 #!/bin/sh -e
2 2
 
3
+# fix for https://code.google.com/p/android/issues/detail?id=223424
4
+mkdir -p ~/.android
5
+
6
+# download android SDK
7
+echo "Downloading Android SDK"
3 8
 curl --location http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz | tar -x -z -C $HOME
4 9
 
10
+# copy licenses
11
+echo "Copying Android licenses"
5 12
 scriptdir=`dirname $0`
6 13
 cp "${scriptdir}"/android-licenses/* "${ANDROID_HOME}"/licenses
7 14