react-native-navigation的迁移库

installAndroidSDK.sh 485B

123456789101112131415161718
  1. #!/bin/sh -e
  2. curl --location http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz | tar -x -z -C $HOME
  3. scriptdir=`dirname $0`
  4. cp "${scriptdir}"/android-licenses/* "${ANDROID_HOME}"/licenses
  5. #( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android update sdk --no-ui -a \
  6. #--filter \
  7. #tools,\
  8. #platform-tools
  9. #build-tools-25.0.0,\
  10. #android-23,\
  11. #addon-google_apis-google-23,\
  12. #extra-android-m2repository,\
  13. #extra-google-google_play_services,\
  14. #extra-google-m2repository