| By Sheldon L | Published at 2020-03-23 | Updated at 2020-03-23 |
# OR npm
sudo npm install expo-cli --global
# OR yarn
yarn global add expo-cli
Trouble Shooting:
expo-cli will take some time to install, espesially in China, it may failed duto internet status, you can try yarn add expo-cli -g --network-timeout 100000 see Yarn - There appears to be trouble with your network connection. Retrying
if ERORR about cache (check log for sure), DO:
sudo npm cache clean --force
cd /usr/lib/node_modules
sudo npm i -g expo-cli --unsafe-perm=true --allow-root
Seriously powerful Android Emulator (Saas) - GENYMOTION FREE, download, chmod +x ..., install to the same folder with Oracal VM VirtualBox
npx expo init ProjectName
cd ProjectName
# OR expo
expo start
# OR yarn
yarn start
Opt 1. by Emulator:
Oracal VM VirtualBox;Expo on Android;Run on Android device/emulator;Opt2. by Device:
Expo on Android;exp://... with LAN or Tunnel;Opt3. with Web by enter w in the terminal.