react-native-navigation的迁移库

installAndroidSDK.sh 429B

123456789101112131415
  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. mkdir -p "${ANDROID_HOME}"/licenses
  11. cp "${scriptdir}"/android-sdk-licenses/* "${ANDROID_HOME}"/licenses