react-native icon indicating copy to clipboard operation
react-native copied to clipboard

'Unable to download JS bundle' error on Android 4.1

Open PCharpentier opened this issue 11 years ago • 2 comments

Hi, First, I'm sorry for my broken English..

I'm working on React Native on Windows and I have an issue on my phone (Android 4.1.2).

I am following the quick start tutorial but, i have a problem in the guide "Running on Device". (http://facebook.github.io/react-native/docs/running-on-device-android.html#content) I can't use adb reverse because I've Android 4.1 and not Android 5.0+. If I try, I have an error: closed.

My question is about the second part : Configure device to connect to the dev server via Wi-Fi. When I go to "developer options", I don't understand how I can write my machine's IP address. I can access to my development server with my phone's browser but, in my app, I have just red page with the error "Unable to dowload JS bundle".

How can I try to resolve this error ?

Thanks

PCharpentier avatar Oct 29 '15 15:10 PCharpentier

Hi @PCharpentier, thanks for the feedback! Maintaining Windows support and documentation is an ongoing community responsibility.

Just added instructions for Mac: https://github.com/facebook/react-native/commit/a02240c2ab9afa566b8beb2c3a4d4ebd0711be7e https://github.com/facebook/react-native/commit/c16ffd31627a1d29dbe36da4ac02d98fa5a239bc

Please feel free to help improve the docs by adding instructions for Windows.

mkonicek avatar Oct 30 '15 11:10 mkonicek

Also, please use Stack Overflow for asking questions: https://stackoverflow.com/questions/tagged/react-native

I'll close this (it is a question rather than an issue).

mkonicek avatar Oct 30 '15 11:10 mkonicek