The APK file 路徑/testcase-debug-androidTest.apk does not exist on disk.
Error while Installing APK
不知道大家在使用時(shí)蕊肥,有沒(méi)有遇到該問(wèn)題
我的代碼在我沒(méi)有任何改動(dòng)時(shí)突然出現(xiàn)該情況
也在網(wǎng)上百度了很久
總結(jié)一下網(wǎng)上的大致解決方案
- 刷新一下Gradle
- rebuild
- 重啟
- lnvalidate Caaches/Restart…
但是這些方法我都有嘗試但是最終都已失敗告終了
最后我的解決方案是
在run->Edit Configurations這個(gè)頁(yè)面下个盆,點(diǎn)擊before launch 下面的 + 按鈕阅仔,再次點(diǎn)擊Gradle-aware Make播玖,下一步直接點(diǎn)擊ok 杆故,不要輸入任何文字
這樣問(wèn)題得到了解決
作者:zhuohaiyy
來(lái)源:CSDN
原文:https://blog.csdn.net/zhuohaiyy/article/details/80078623
版權(quán)聲明:本文為博主原創(chuàng)文章洛二,轉(zhuǎn)載請(qǐng)附上博文鏈接舱沧!