Permalink
Browse files

Try retaining Android SDK tools/source.properties

  • Loading branch information...
srowen committed Jan 24, 2017
1 parent a4485c2 commit 225d8898a53cbd1a88366b2ebadc86240b478f46
Showing with 8 additions and 5 deletions.
  1. +8 −5 .travis.yml
View
@@ -26,17 +26,20 @@ after_success: if [ -n "$JACOCO" ]; then bash <(curl -s https://codecov.io/bash)
#
# mkdir android-sdk-linux; cd android-sdk-linux
# curl -O https://dl.google.com/android/repository/tools_r25.2.3-linux.zip
-# unzip *.zip
-# rm *.zip
+# unzip *.zip; rm *.zip
#
-# # Or different, more recent versions:
+# # Or different, more recent versions; see sdkmanager --list
# ./tools/bin/sdkmanager "platforms;android-22" "build-tools;25.0.2"
# # Accept license
#
-# ./tools/bin/sdkmanager --uninstall tools
-#
# ./tools/bin/sdkmanager --update
# # Accept license
#
+# cp tools/source.properties ..
+#
+# ./tools/bin/sdkmanager --uninstall tools
+#
+# mkdir tools; mv ../source.properties tools
+#
# cd ..
# tar cf - android-sdk-linux | bzip2 -9 > android-sdk-linux.tar.bz2

0 comments on commit 225d889

Please sign in to comment.