我这边出现该问题的原因为:布局文件写错了,但又没有任何的报错提示。
最后通过命令调试:
gradlew compileDebugSources --stacktrace -info
日志如下:

最后是因为颜色值把#误删掉了。
其他原因参考:
https://blog.csdn.net/u011618035/article/details/80574645
https://www.cnblogs.com/shen-hua/p/9783183.html
我这边出现该问题的原因为:布局文件写错了,但又没有任何的报错提示。
最后通过命令调试:
gradlew compileDebugSources --stacktrace -info
日志如下:
最后是因为颜色值把#误删掉了。
其他原因参考:
https://blog.csdn.net/u011618035/article/details/80574645
https://www.cnblogs.com/shen-hua/p/9783183.html
本文标题:关于 AAPT2 error: check logs for d
本文链接:https://www.haomeiwen.com/subject/uuvrtctx.html
网友评论