Unable to connect with remote debugger

后端 未结 14 1240
予麋鹿
予麋鹿 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 18:57

    I did @sajib s answer and used this script to redirect ports:

    #!/usr/bin/env bash
    
    # packager
    adb reverse tcp:8081 tcp:8081
    adb -d reverse tcp:8081 tcp:8081
    adb -e reverse tcp:8081 tcp:8081
    
    echo "

提交回复
热议问题