'React native run android' stop immediatelly after start the app in emulator

前端 未结 4 1812
北海茫月
北海茫月 2021-02-13 21:36

I\'m trying to test my Android application but when I start it with react-native run-android command after it is start on the device inmediatelly stop without error

4条回答
  •  北恋
    北恋 (楼主)
    2021-02-13 21:53

    I had the same issue and problem is described here port already in use. So just kill the process occupying the port.

    sudo lsof -i :8081

    kill -9

提交回复
热议问题