2017-05-24 74 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構建工具不會失敗並顯示有用的錯誤消息。