Install, build and debug a react native app in WSL2 (Windows Subsystem for Linux) and Ubuntu.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run commands one by one manually | |
cd ~ | |
# add sudo wherever needed | |
apt-get update | |
apt-get install unzip zip | |
# get the link for latest sdk commandlinetools for linux from https://developer.android.com/studio#downloads "Command line tools only" section | |
wget https://dl.google.com/android/repository/commandlinetools-linux-7302050_latest.zip | |
# create folder Android and unzip the cmdtools in Android/cmdline-tools/latest/ | |
unzip commandlinetools-linux-7302050_latest.zip -d Android | |
rm commandlinetools-linux-7302050_latest.zip |