Skip to content

Instantly share code, notes, and snippets.

@alyatwa
Last active February 15, 2022 04:10
Show Gist options
  • Save alyatwa/9787f322dc89e5583c58eb03dca8f0b2 to your computer and use it in GitHub Desktop.
Save alyatwa/9787f322dc89e5583c58eb03dca8f0b2 to your computer and use it in GitHub Desktop.
install sdk android offline for windows

main tutorial: https://reactnative.dev/docs/environment-setup

Install Android SDK Platform Tools

tutorial: https://androidsdkoffline.blogspot.com/p/android-sdk-platform-tools.html

  1. download platform-29 -->> https://dl.google.com/android/repository/platform-29_r04.zip
  2. using bash cmd >> start with: cd $ANDROID_SDK_ROOT
    rm -rf platforms/android-29 && unzip /f/react/platform-29_r04.zip -d platforms/android-29 && cd platforms/android-29 && mv android-*/* . && rm -rf android-*

Install Android SDK Build Tools

tutorial: https://androidsdkoffline.blogspot.com/p/android-sdk-build-tools.html

  1. download build-tools_r29.0.2 -->> https://dl.google.com/android/repository/build-tools_r29.0.2-windows.zip
  2. using bash cmd
    unzip yourpath/build-tools_r29.0.2-windows.zip -d build-tools/29.0.2 && cd build-tools/30.0.2 && mv android-*/* . && rm -rf android-*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment