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即可.
如下图

截屏2023-03-31 11.39.51.png
上一篇 下一篇

猜你喜欢

热点阅读