技术小黑屋

The APK File xxxx.apk Does Not Exist on Disk问题修复

许久之前,用Espresso写过一些测试用例,但是执行的时候总是报这种错误

1
2
The APK file aaa-debug-4.2.8-886eda0d9d-400208.apk does not exist on disk.
Error while Installing APK

解决方法

执行File -> Sync Project with Gradle Files 即可。