Open Terminal [Ctrl+Alt+T]
Node & Npm Installation
Node Version Check: node -v
NPM Version: npm -v
If Node & Npm not installed can run this
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
I’m using Yarn, To Install:
npm install --global yarn
To Check: yarn --version
Install Git
apt-get install git
To check: git --version
Github Desktop: https://gist.github.com/berkorbay/6feda478a00b0432d13f1fc0a50467f1
Install Expo
yarn global add expo-cli
Create Project
expo init myproject
cd myproject
yarn start
Expo Few useful commands
expo whoami
(Check if you are logged in or not)
expo login
(to login)
expo build:android
(to build android app)
Android Studio Installation
Download Zip File
https://developer.android.com/studio
extract file and navigate to bin directory
Make sure root user, to switch:
sudo -su
sh studio.sh
I’m running 64bit machine – so installing following libraries
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
Can find your one’s here
https://developer.android.com/studio/install
Create a AVD (Open Android Studio>More Actions>AVD Manager)
Now just can run yarn start then press “a” to open your app in android