First step: Install Android SDK
yay -S android-sdk android-sdk-platform-tools android-sdk-build-tools genymotion
sudo modprobe vboxdrv vboxnetadp vboxnetflt
Activate for current session.sudo chown -R $USER:$USER /opt/android-sdk
Give permisions over Android SDK folders.- Restart
Is needed byGenymotion
for detectVirtualBox
modules.
NOTE: You need install Java JDK for user Android SDK. /opt/android-sdk/tools/bin/sdkmanager
This command launchAndroid SDK
. You can make fixed in your dock application (for examplePlank
), or create adesktop-launcher
./opt/android-sdk/tools/bin/sdkmanager --licenses
This command will ask you to accept all the licenses required by the react-native-cli.
Second step: React-Native
npm install -g react-native-cli
Note: You need have installed node and npm for useReact Native
.
Optional Step: Upgrade watchers limit
echo "fs.inotify.max_user_watches=524288" >> /etc/sysctl.conf
Note: Use this command in super user session.sudo sysctl -p /etc/sysctl.conf
Make this active without reboot session.