microsoft/TypeScript-React-Native-Starter

Error calling AppRegistry.runApplication

DDzia opened this issue · 4 comments

DDzia commented

image

Repeated a steps:

  • npm i
  • react-native run-android

Same problem. After a bit of googling I stumbled upon this Stackoverflow question concluding that a simple

adb reverse tcp:8081 tcp:8081

solves the problem. For me it worked.

DDzia commented

@Prior99, your hook don't resolve problem for me. Also problem.

This worked for me https://stackoverflow.com/a/44035335

run
$ react-native start
in the background then run
$ react-native run-android