npm install -g create-react-native-app
create-react-native-app MyReactNative
npm install -g react-native-cli
npm start
expo run:android
mkdir android/app/src/main/assets
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
react-native run-android
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap)
端口占用了 关闭端口即可。
remove cache and then download by hand, replace in the directory.
Did u install ANDROID_SDK_ROOT by android studio?
export ANDROID_SDK_ROOT=$HOME/softwares/AndroidStudioSDK
export PATH=$PATH:$ANDROID_SDK_ROOT