Index

React Native

  1. Install Android Studio
  2. Introduction
  3. Navigation
    1. StackNavigator
    2. Login
    3. DrawerNavigator
    4. Custom Drawer
    5. Image
  4. Formik and Apollo Client
  5. Image Upload
  6. Alert
  7. Keyboard Avoiding View

Install Android Studio

sudo apt install libcanberra-gtk-module libcanberra-gtk3-module

images/698-1.png



images/698-2.png



images/698-3.png


Create Virtual Device:
images/698-4.png


Run the emulator

Then Run on Android device form localhost expo
images/698-5.png


sudo apt-get install qemu-kvm
sudo adduser $USER kvm
sudo chown $USER /dev/kvm


Add the following lines to your $HOME/.bash_profile or $HOME/.bashrc config file:

If you are adding to .bash_profile, do add:

source ~/.bash_profile

to to your ~/.bashrc file

export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools



sudo apt-get install libtool m4 autotools-dev automake pkg-config python-dev

Watchman:
https://facebook.github.io/watchman/
# use the latest stable release
$ git clone https://github.com/facebook/watchman.git -b v4.9.0 --depth 1
cd watchman 
$ ./autogen.sh
$ ./configure
make
sudo make install