Unable to connect with remote debugger

后端 未结 14 1305
予麋鹿
予麋鹿 2020-11-28 18:29

I\'m using React.JS and when I do react-native run-android (with my device plugged in) I see a blank page. When I shake the device and select Debug JS Rem

14条回答
  •  一个人的身影
    2020-11-28 19:03

    Solved the issue following:

    • Press Cmd + M on emulator screen
    • Go to Dev settings > Debug server host & port for device
    • Set localhost:8081
    • Rerun the android app: react-native run-android

    Debugger is connected now!

提交回复
热议问题