Android 生成应用程序时显示AGPBI错误
[嗨,每当我花了很多时间来纠正错误时。但是gradle总是失败。我搜索了这么多stackoverflow,但仍然没有成功。请帮我解决问题。[/strong>] 大宗报价 AGPBI:Android 生成应用程序时显示AGPBI错误,android,android-gradle-plugin,Android,Android Gradle Plugin,[嗨,每当我花了很多时间来纠正错误时。但是gradle总是失败。我搜索了这么多stackoverflow,但仍然没有成功。请帮我解决问题。[/strong>] 大宗报价 AGPBI: { "kind":"error", "text":"error: attribute \u0027com.app.xyz:menu_animationDelayPerItem\u0027 not found.", "sources":[ { "file":
{
"kind":"error",
"text":"error: attribute \u0027com.app.xyz:menu_animationDelayPerItem\u0027 not found.",
"sources":[
{
"file":"E:\XYZ\app\src\main\res\layout\fragment_home.xml",
"position":{
"startLine":130
}
}
],
"original":"",
"tool":"AAPT"
}AGPBI:{
"kind":"error",
"text":"error: attribute \u0027com.app.xyz:menu_backgroundColor\u0027 not found.",
"sources":[
{
"file":" E:\XYZ\app\src\main\res\layout\fragment_home.xml
在您的文件
E:\XYZ\app\src\main\res\layout\fragment\u home.xml
中,您引用的是一个属性菜单\u backgroundColor
,该属性未在您的资源中定义删除该引用或将该颜色(?)添加到您的资源中。
如果这不能解决您的问题,请发布
片段的内容\u home.xml