Emulator: emulator: ERROR: AdbHostServer.cpp:102: Unable to connect to adb daemon on port: 5037

后端 未结 4 641
无人共我
无人共我 2021-01-17 19:41

I am stuck a whole afternoon trying to run again my small Android/Kotlin application in Android Studio. The message pasted on this question topic suddenly nocked me down.

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-17 20:40

    1. emulator -list-avds
    2. adb start-server 
    3. emulator -avd 
    

    if you see PANIC: Missing emulator engine program for 'x86' CPU.

    then you can try

    1. emulator -list-avds
    2. adb start-server
    3. $ANDROID_HOME/emulator/emulator @name_device
    

    for cold boot use flags -no-snapshot and -no-snapshot-load

提交回复
热议问题