Installation failed due to: ‘Connection refused: connect‘安卓studio端口占用

时间:2024-03-14 13:31:28

安卓连接安卓模拟器运行项目时提示
Installation failed due to: ‘Connection refused: connect’
且提示你retry重试
一般是端口占用了,

1.打开你的用户文件夹下的.greadle文件
Installation failed due to: ‘Connection refused: connect‘安卓studio端口占用
2.用工具编辑这个配置文件
Installation failed due to: ‘Connection refused: connect‘安卓studio端口占用
3.把这俩个端口号修改一下就行了,改成8089啥的都可以
Installation failed due to: ‘Connection refused: connect‘安卓studio端口占用
重新进入安卓studio提示你端口更改,你把端口号改下就行了【如果没有提示就忽略这个】