Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29452

Expo network response Timed Out, Can't run Expo app on android emulator

$
0
0

I'm trying to run My react-native application, I'm running it on android emulator and my phone HUAWEI Y3II and same thing happens. I was working on it fine a few days ago but suddenly this error keeps coming up:
Could not load exp://*myip*:19000 network response timed out

enter image description here

enter image description here And the terminal Log shows:

Fetching the user profile failed
connect ETIMEDOUT 104.197.216.164:443
aTrying to open the project on Android...
Opening on Android device

I tried setting the environment variable REACT_NATIVE_PACKAGER_HOSTNAME to my ip address, I tried turning off the firewall, I ensured that the ports are allowed in the firewall, I tried changing my network from public to private. Here is my package.json file:

{
    "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": "^35.0.0",
        "react": "16.8.3",
        "react-dom": "16.8.3",
        "react-native": "file:../../../../Users/RiggedToBlow/Downloads/Compressed/react-native-sdk-35.0.0.tar.gz",
        "react-native-gesture-handler": "~1.3.0",
        "react-native-reanimated": "~1.2.0",
        "react-native-web": "^0.11.7",
        "react-navigation": "^4.0.10",
        "react-navigation-stack": "^1.9.4"
    },
    "devDependencies": {
        "babel-preset-expo": "^7.0.0"
    },
    "private": true
}

I really need to work on this please help


Viewing all articles
Browse latest Browse all 29452

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>