react-native-navigation的迁移库

installAndroidSDK.sh 389B

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