First step: Install Android SDK
-
yaourt -S android-sdk android-sdk-platform-tools android-sdk-build-tools
Note: Maybe you'll have problems with the lasta package:ncurses5-compat-libs. In order to avoid this problem you have to use this command:gpg --recv-keys F7E48EDB. You can find clarification (here)[https://aur.archlinux.org/packages/ncurses5-compat-libs/?comments=all]. -
yaourt -S genymotion
Note: You'll need installvirtual-boxand his modules,yaourtwill make for you but you need choos between ArchLinux host modules or DKMS host modules. -
echo -e "vboxdrv\nvboxnetflt\nvboxnetadp\nvboxpci" > /etc/modules-load.d/virtualbox.conf
Note: You need do this with super user because need super user permissions and withsudo, for us at least, doesn't work. -
sudo modprobe vboxdrv vboxnetadp vboxnetflt
Activate for current session. -
sudo chmod -R 777 /opt/android-sdk
Give permisions over Android SDK folders. -
Restart
Is needed byGenymotionfor detectVirtualBoxmodules.
NOTE: You need install Java JDK for user Android SDK. -
/opt/android-sdk/tools/android This command launch
Android SDK. You can make fixed in your dock application (for examplePlank), or create adesktop-launcher.
Second step:
- npm install -g react-native-cli
Note: You need have installed node and npm for use
React Native.