Home>

I am practicing in the environment of Mac OS * React Native * Expo,
Android emulator does not work.

What is the cause?

You can use the adb command. I thought that it was because the version of expo was 37, rewriting the contents of package.json,npm install Downgrade with command? I tried it, but nothing changed, what should I do?

  

Applicable source code

react native
Source code

package.js
{
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web",
    "eject": "expo eject"
  },
  "dependencies": {
    "expo": "~ 36.0.0",
    "react": "~ 16.9.0",
    "react-devtools": "^ 3.6.3",
    "react-dom": "~ 16.9.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz",
    "react-native-web": "~ 0.11.7"
  },
  "devDependencies": {
    "babel-preset-expo": "~ 8.1.0",
    "@ babel/core": "^ 7.8.6"
  },
  "private": true
}
What I tried

change version of expo
Check if the pass has passed

Supplemental information (FW/tool version, etc.)

Environment

mac Catalina: v10.15.4

@ babel/core @ 7.9.0

[email protected]

[email protected]

[email protected]

[email protected]

[email protected]

[email protected]

[email protected]