2017-05-24 77 views
0

我们有夜间构建的CI服务器。我们还为我们的xamarin构建版本服务器提供了所需的依赖关系。出于某种原因,本周的事情改变了(我不知道是什么),但现在在_UpdateAndroidResgen构建步骤中,aapt获取两次定义的属性,导致构建因某种原因失败。Xamarin构建失败(属性*** allready定义)

Failed to generate resource table for split '' [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.v7.AppCompat\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "navigationMode" already defined with incompatible format. [20:53:33] ~\obj\x64\Release\resourcecache\8D3A6302159015EB54DABA3378105A95\res\values\values.xml:73: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.v7.AppCompat\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "displayOptions" already defined with incompatible format. [20:53:33] ~\obj\x64\Release\resourcecache\8D3A6302159015EB54DABA3378105A95\res\values\values.xml:73: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.v7.AppCompat\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "actionBarSize" already defined with incompatible format. [20:53:33] ~\obj\x64\Release\resourcecache\8D3A6302159015EB54DABA3378105A95\res\values\values.xml:82: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.v7.AppCompat\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "buttonTintMode" already defined with incompatible format. [20:53:33] ~\obj\x64\Release\resourcecache\8D3A6302159015EB54DABA3378105A95\res\values\values.xml:84: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.v7.AppCompat\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "showDividers" already defined with incompatible format. [20:53:33] nothing matches overlay file notification_media_action.xml, for flavor v11 [20:53:33] nothing matches overlay file notification_media_cancel_action.xml, for flavor v11 [20:53:33] nothing matches overlay file notification_template_big_media.xml, for flavor v11 [20:53:33] nothing matches overlay file notification_template_big_media_narrow.xml, for flavor v11 [20:53:33] ~\obj\x64\Release\resourcecache\8D3A6302159015EB54DABA3378105A95\res\values\values.xml:86: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.v7.AppCompat\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "showAsAction" already defined with incompatible format. [20:53:33] ~\obj\x64\Release\resourcecache\8D3A6302159015EB54DABA3378105A95\res\values\values.xml:90: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.v7.AppCompat\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "backgroundTintMode" already defined with incompatible format. [20:53:33] ~\obj\x64\Release\resourcecache\8D3A6302159015EB54DABA3378105A95\res\values\values.xml:100: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.Design\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "layout_scrollFlags" already defined with incompatible format. [20:53:33] ~\obj\x64\Release\resourcecache\1E8DAFD410D28824E5C274B16FD597B6\res\values\values.xml:14: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.Design\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "collapsedTitleGravity" already defined with incompatible format. [20:53:33] ~\obj\x64\Release\resourcecache\1E8DAFD410D28824E5C274B16FD597B6\res\values\values.xml:17: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.Design\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "expandedTitleGravity" already defined with incompatible format. [20:53:33] ~\obj\x64\Release\resourcecache\1E8DAFD410D28824E5C274B16FD597B6\res\values\values.xml:17: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.Design\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "layout_collapseMode" already defined with incompatible format. [20:53:33] ~\obj\x64\Release\resourcecache\1E8DAFD410D28824E5C274B16FD597B6\res\values\values.xml:16: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.Design\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "layout_anchorGravity" already defined with incompatible format. [20:53:33] ~\obj\x64\Release\resourcecache\1E8DAFD410D28824E5C274B16FD597B6\res\values\values.xml:19: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.Design\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "fabSize" already defined with incompatible format. [20:53:33] ~\obj\x64\Release\resourcecache\1E8DAFD410D28824E5C274B16FD597B6\res\values\values.xml:21: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.Design\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "tabMode" already defined with incompatible format. [20:53:33] ~\obj\x64\Release\resourcecache\1E8DAFD410D28824E5C274B16FD597B6\res\values\values.xml:28: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.Design\library_project_imports\res\values\values.xml(2, 0): error APT0000: Attribute "tabGravity" already defined with incompatible format. [20:53:33] ~\obj\x64\Release\resourcecache\1E8DAFD410D28824E5C274B16FD597B6\res\values\values.xml:28: Original attribute defined here. [20:53:33] ~\obj\x64\Release\__library_projects__\Xamarin.Android.Support.Design\library_project_imports\res\values\values.xml(2, 0): error APT0000: String types not allowed (at 'fabSize' with value 'auto'). [20:53:33]
[20:53:33] The command exited with code 1.

我已经验证了这个问题似乎是在构建亚军,将其传递3天前正与AAPT错误而失败,以及相同的代码。还验证了Android SDK和构建工具版本与他们一直相同。我已经尝试恢复,删除所有bin和obj文件夹以及xamarin缓存文件夹〜\ AppData \ Local \ Xamarin \我也重新安装了android构建工具。真的很难在这一点上。

有没有人看过这个问题?

回答

0

如果有其他人遇到这个问题事实证明,这只是由于构建服务器空间不足造成的。有足够的空间用于VCS签出,但是当他们尝试创建的临时文件和缓存文件超出可用磁盘空间时,android构建工具不会失败并显示有用的错误消息。