"Can't find variable: Expo" error in Android

My app runs fine in ios, but get this error in Android: “Can’t find variable: Expo”

Here is my package.json:

{
“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”: “~42.0.0”,
“expo-status-bar”: “~1.0.4”,
“react”: “16.13.1”,
“react-dom”: “16.13.1”,
“react-native”: “https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz”,
“react-native-draggable”: “^3.3.0”,
“react-native-elements”: “^1.0.0-beta8”,
“react-native-simple-radio-button”: “^2.7.4”,
“react-native-web”: “~0.13.12”,
“react-navigation”: “2.0.1”
},
“devDependencies”: {
@babel/core”: “^7.9.0”
},
“private”: true
}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.