android - Android Studio build error logs not shown correctly
问题描述
I have a simple project and I remove some color resources from my file.
Expectations:
I build the project and it should fail. In the Build Output
I should have the logs where it shows me the files where build fails. (Because the color resources are missing)
Reality (Android Studio 3.4.2):
I build the project and it fails. In the Build Output
I see:
Android resource linking failed...
I navigate through all the failed tasks and none of them shows the proper logs. Android Studio used to have this working properly. Does any one know any settings that maybe can fix what the Build Output shows?
I know that if I Analyze > Inspect code
I can see the proper list of files where there are errors. But this takes time. I also know that running the build task in terminal it shows the files where there are errors. I want to have it like it used to be before.
I know that someone at Android Studio had one job and he didn't do it right but here I am for your help.
解决方案
尝试:构建 -> 清理 gradle 文件的清理项目
或者:File->Invalidate Caches / Restart Then Sync Project with gradle files
试一试,看看它是否会改变任何东西。它应该开始为资源文件提供错误。
推荐阅读
- angular - 画布图表未在 Angular 中生成
- javascript - 如何为每个索引 jQuery 分割数组
- java - 将 GraalVM 引擎和 graalpython 与 Java 应用程序捆绑在一起
- python - 蜘蛛爬取不同数量的页面并且不会爬取所有页面
- mysql - 如何在 mysql 工作台中打开带有 .ibd 文件扩展名的数据库文件夹?
- java - 应用程序在 USB 调试模式下工作正常,但是当我生成签名 APK 并安装它时,它不工作
- python - 将时区感知的日期时间保存为字符串,然后稍后将其恢复为日期时间
- video - 如何将 vimeo 中已有的视频添加到我的频道并展示
- c - 从磁盘上的空白空间读取字节
- firebase - 基本输入无法将数据传递到 vuejs 中的后端