困ったこと
react-native の最新版でreact-native init AwesomeProject
してプロジェクトを作成
↓
react-native run-android
で起動してもデバッガーにつながらず、確認できない。。
回避策
Run adb reverse tcp:8081 tcp:8081
Paste http://localhost:8081/debugger-ui
into the address field of my Chrome browser. You should see the normal debugging screen but your app will still not be connected.
That should fix the problem. If not, you may need to take the following additional steps:
Close and uninstall the app from your Android device
Reinstall the app with react-native run-android
Enable remote debugging on your app.
Your app should now be connected to the debugger.