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

Created on 8 Sep 2017  路  11Comments  路  Source: expo/create-react-native-app

Description

trying to run genymotion simulator ..

followed the instructions but getting the following error

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

Expected Behavior

for the simulator to run

Observed Behavior

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

Environment

  • npm ls react-native-scripts:
 [email protected]
  • npm ls react-native:
 [email protected]
  • npm ls expo:
[email protected]
  • node -v:
    8.4.0

  • npm -v:
    5.3.0

  • yarn --version:
    1.0.1

  • watchman version:
    `4.9.0.

Also specify:

  1. Operating system: macos sierra
  2. Phone/emulator/simulator & version: genymotion

Most helpful comment

make sure you are using minimal API 19 on your emulator, its work on me somehow.

All 11 comments

+1

make sure you are using minimal API 19 on your emulator, its work on me somehow.

Can you try some of the steps that the Expo docs recommend at https://docs.expo.io/versions/latest/guides/genymotion.html ?

I'm having the same issue, do you have any pointers?
screenshot from 2017-10-24 19-10-48
Just yesterday the emulator was running fine :/

@this-miguel's solution should work!

@rednull solution helped. Don't toss that out.

I went over to play store in the emulator and viewed expo to see whether i could update it, and I found a message that this version us not supported in your device. Try different emulators..for me i used android 7 emulator instead and That worked for me!

@this-miguel solution fixed one problem, but then I kept getting 'Couldn't adb reverse' error messages and 'Couldn't start project on Android...'. @rednull solution was the only one that actually fixed it. I just wish Genymotion had a wider range of tablets with API 19.

My two cents for people that want to understand what's going on:

When you run npm run android, Expo gets installed on the emulator automatically, and since Expo requires Android 4.4+ (API 19), @rednull solution may do the trick (my case :raised_hands:).

On the other hand, if you're using Genymotion and it throws this error when you try to use an emulator that has Android 4.4+:

genymotion_error

you may still be able to use it by reducing the number of cores in the device settings.

O meu erro 茅 recente tem como me ajudar??

Couldn't start project on Android: Error running adb: Error running app. Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=exp://192.168.44.236:19000 flg=0x10000000 }

Was this page helpful?
0 / 5 - 0 ratings