简体   繁体   English

app-debug.apk在磁盘上不存在

[英]app-debug.apk does not exist on disk

I've looked through all tips in the other threads here, tried all proposed solutions (last thing I did was completely uninstall and reinstall Android Studio), and I still get it... 我在这里浏览了其他线程中的所有技巧,尝试了所有建议的解决方案(我所做的最后一件事是完全卸载并重新安装Android Studio),但我仍然明白了...

If I select "Build APK", then whenever I change the code the changes aren't put in effect in the new versions of the app... I think I'm going to give this up for the weekend... 如果我选择“构建APK”,那么无论何时更改代码,更改都不会在新版本的应用程序中生效...我想我会在周末放弃这一点...

First I had all the database errors I pointed to in the other thread (unsolved), then Android Studio started "ignoring" changes in my code (like commented lines being ran as they weren't commented), now invalidating the cache and everything else (including the reinstall) left me here... 首先,我遇到了另一个线程中指出的所有数据库错误(未解决),然后Android Studio开始“忽略”我的代码更改(例如,注释行在未注释时就被运行了),现在使缓存和其他所有内容无效(包括重新安装)将我留在这里...

Any thoughts? 有什么想法吗?

I sorted it myself (this question was asked multiple times around here, HOWEVER it WAS NOT satisfactorily answered): 我亲自对它进行了排序(此问题在这里多次问过,但是未能令人满意地回答):

Go to "Run" - "Edit Configurations", look at the "Before Launch" field at the bottom of the window, click on the "+" sign and add the "Gradle-aware Make" option to the list, no additional text needed on the next input window (just click on "ok"). 转到“运行”-“编辑配置”,查看窗口底部的“启动前”字段,单击“ +”号,然后将“ Gradle-aware Make”选项添加到列表中,没有其他文本在下一个输入窗口中需要(只需单击“确定”)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM