Cannot start my react-native application on Genymotion with expo

0

When I try to start my react-native application on Genymotion, it shows:

Error running adb: 'Error running app. Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=exp://192.168.56.1:19000 flg=0x10000000 }'

Yet when I tried to start Java application, everything works well. I searched the web I found some tips but nothing.

My environment :

'{
    "name": "SnapVendy",
    "version": "0.1.0",
    "private": true,
    "devDependencies": {
        "jest-expo": "25.0.0",
        "react-native-scripts": "1.11.1",
        "react-test-renderer": "16.2.0"
    },
   "main": "./node_modules/react-natives cripts/build/bin/crna-entry.js",
   "scripts": {
        "start": "react-native-scripts start",
        "eject": "react-native-scripts eject",
        "android": "react-native-scripts android",
        "ios": "react-native-scripts ios",
        "test": "node node_modules/jest/bin/jest.js"
    },
    "jest": {
         "preset": "jest-expo"
    },
    "dependencies": {
        "axios": "^0.18.0",
        "expo": "^25.0.0",
        "mobx": "^4.1.0",
        "native-base": "^2.3.10",
        "react": "16.2.0",
        "react-native": "0.52.0",
        "react-navigation": "^1.5.8"
    }
}'



Expo packager-info.json :
'{
    "expoServerPort": 19000,
    "packagerPort": 19001,
    "packagerPid": 10380,
    "expoServerNgrokUrl": null,
    "packagerNgrokUrl": null,
    "ngrokPid": null
}'
javascript
android
react-native
genymotion
expo
asked on Stack Overflow Apr 7, 2018 by (unknown user) • edited Apr 7, 2018 by halfer

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0