react-native-navigation的迁移库

installAndroidSDK.sh 502B

12345678910111213141516171819
  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. export ANDROID_HOME=$HOME/android-sdk-linux
  4. export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
  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-24,\
  12. extra-android-m2repository,\
  13. extra-google-google_play_services,\
  14. extra-google-m2repository