Unable to attach debugger in Android Studio - localhost:8600 java.net.ConnectException

前端 未结 11 2069
不思量自难忘°
不思量自难忘° 2021-02-07 00:35

I cannot attach the debugger in Android Studio while running debug on a phone.

I’m currently using a Samsung S4, running Android 4.4.4 (but have tried an S5, S6, S7, and

11条回答
  •  失恋的感觉
    2021-02-07 01:28

    I also got same error and this thing worked for me

    1. Open Android Studio -> Terminal
    2. Change directory to $Android SDK Path$\platform-tools
    3. Write command adb get-state and hit enter.
    

    Then you will get this output

    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    

提交回复
热议问题