InstallException: EOF
2023-03-30 本文已影响0人
钰大人
在使用installDebug过程中,有时候会报错误
EOF
。 实际上是打包成功,但是安装会失败.
Execution failed for task ':app:installDebug'.
> com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: EOF
修复
关闭androidstudio-performance-Build,Execution,Deployment下的debugger-use, 勾选libusb backend
即可.
如下图
![](https://img.haomeiwen.com/i14245615/383f579ed758b6fe.png)