简体   繁体   中英

Unable to open debug port: java.net.socketexception “Connection refused” - Android Studio

This error occur while attaching debugger to process.

I've checked solutions from similar issue with "Socket closed" and it does not fix this.

After this runnig app with debugger attached returns:

Error running Android Debugger (port): Unable to open debugger port : java.net.SocketException "Connection reset" 

Any ideas ?

Env:
Android Studio v1+
Linux x64

检查防火墙设置,打开此端口关闭可能连接到设备的任何其他工具或窗口,即铬检查窗口,另一个日食等。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM