I got similar problem like this question:
Asked
Active
Viewed 188 times
0
-
1I had almost the same problem you currently have a few days ago. For me it was a real device. From all my research, the solution that worked for me is the following : When you launch your app by typing `react-native run-android`, the error appears.So, reach your directory containing "adb.exe" ( for me it was C:\Users\username\AppData\Local\Android\Sdk\platform-tools\ ) open a terminal from here. And type `adb reverse tcp:8081 tcp:8081` Then, by reloading the app on the phone, it should work.I hope this will help you !! ( if not, shame on me )Cheers ;)Through this process i got my solution – RAMCODER May 10 '17 at 14:05
-
Please edit you post to make it readable. – Kalle Richter May 10 '17 at 14:34
-
Ramcoder, your comment makes it seem you have solved this. Why not add an answer to the other question? There is no value in duplicating the question, especially with so little context. – halfer May 10 '17 at 15:42
-
https://facebook.github.io/react-native/docs/running-on-device.html – RAMCODER May 11 '17 at 05:37
-
http://stackoverflow.com/questions/31525431/getting-error-closed-twice-on-adb-reverse – RAMCODER May 12 '17 at 10:37
-
http://stackoverflow.com/questions/32572399/react-native-android-failed-to-load-js-bundle – RAMCODER May 12 '17 at 11:27