React-Native, Android, Genymotion: ADB server didn't ACK

前端 未结 11 2074
梦毁少年i
梦毁少年i 2020-11-28 02:44

I am working with React-Native, Android, and Genymotion on Mac. When I run react-native run-android I get this lines at the end of the launch operation:

11条回答
  •  孤独总比滥情好
    2020-11-28 03:27

    1.use custom sdk path in genymotion.(Suppose this one won't work means,Try to execute the second one)

    2.Manually use this command to execute(SDK PATH/adb she ll am start -n/Package name/MainActivity).

    C:\Users\AppData\Local\Android\Sdk/platform-tools/adb she ll am start -n com.example/com.example.ManiActivity

    And try to run the application by using react-native run-android.

提交回复
热议问题