Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/194.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 生成应用程序时显示AGPBI错误_Android_Android Gradle Plugin - Fatal编程技术网

Android 生成应用程序时显示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":

[嗨,每当我花了很多时间来纠正错误时。但是gradle总是失败。我搜索了这么多stackoverflow,但仍然没有成功。请帮我解决问题。[/strong>]

大宗报价

AGPBI:

{  
   "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