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

前端 未结 11 2079
梦毁少年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:42

    If want to keep your system clean, you can also use Genymotion without Android Studio:

    1. Find Genymotion's copy of adb. On macOS this is normally /Applications/Genymotion.app/Contents/MacOS/tools/.
    2. Add the Genymotion tools directory to your path - execute/add the line export PATH=/Applications/Genymotion.app/Contents/MacOS/tools/:$PATH to your ~/.bash_profile or ~/.bash_rc.
    3. Make sure that you can run adb from your terminal.

    (From https://docs.expo.io/versions/latest/workflow/genymotion)

提交回复
热议问题