Android resource linking failed

烂漫一生 提交于 2019-12-05 03:59:02

Please, provide some code. That will be very helpful.

But, for now as the error shows:

Daemon: AAPT2 aapt2-3.2.0-alpha17-4804415-windows Daemon #0

It means you must have some error in your XML files (layout files or drawable files), check your recent history of your XML file if you are working on Android Studio

right click on xml file-> Local history-> show History

or look for any error that XML file is showing.

values.xml:352: error: resource android:attr/popupPromptView is private.

And also refer to this error in values.xml file

NELSON RODRIGUEZ

I get this error while creating the legacy icons (Image asset) tool - I find that the Android studio does not close <Vector> tag in ic_launcher_foreground.xml. I have to fix these errors by adding manually the close tag </vector>

It happened to me twice, and both times it was an xml spelling error, and the error message was not very useful. The best way to identify a problem is to Analyze -> Inspect code -> search for clues in the "Syntax error" and find the xml with an error.

update all dependencies from your build gradle issue resolved

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!