Amit Desale
Amit Desale

Reputation: 1291

react native android 'Unable to download JS bundle'

I'm trying to run dictionary project on my samsung GT-I9100 (android 4.1.2). I'm able to build the project and install it on the device. But when I run it, I got a red screen saying "Unable to download JS bundle"
i follow this tutorial to run dictionary project. but i got error.

Upvotes: 0

Views: 1760

Answers (1)

scgough
scgough

Reputation: 5252

You might find that if you deploy your app to your Android device rather than an emulater you get a red screen of death with an error saying Unable to load JS Bundle. You need to set the debug server for your device to be your computer running react...either its name OR IP address.

Press the device Menu button Select Dev Settings Select Debug server host for device Type in your machine's IP and Reload JS More info: http://facebook.github.io/react-native/docs/running-on-device-android.html

Upvotes: 1

Related Questions