2017-05-24 6 views
0

Wir haben einen CI-Server für nächtliche Builds. Wir haben auch die erforderlichen Abhängigkeiten vom Build-Server für unsere Xamarin-Builds. Aus irgendeinem Grund änderte sich diese Woche etwas (ich weiß nicht was), aber nun wird im Build-Schritt _UpdateAndroidResgen aapt Attribute zweimal definiert, was dazu führt, dass der Build aus irgendeinem Grund fehlschlägt.Xamarin Build schlägt bei aapt fehl (Attribut *** bereits definiert)

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.

Ich habe festgestellt, dass das Problem auf dem Build-Läufer als den gleichen Code zu sein scheint, die vor 4 Tagen vorbei wurden nun auch mit dem aapt Fehler scheitern. Auch verifiziert die Android SDK und Build-Tools-Versionen sind die gleichen wie sie schon immer waren. Ich habe versucht, alle bin und obj Ordner sowie die Xamarin-Cache-Ordner löschen ~ \ AppData \ Local \ Xamarin \ Ich habe auch die Android-Build-Tools neu installiert. Wirklich ziemlich ratlos an dieser Stelle.

Hat jemand dieses Problem schon einmal gesehen?

Antwort

0

Wenn jemand anderes auf dieses Problem trifft Es stellt sich heraus, dass dies nur aufgrund der Build-Server auf wenig Speicherplatz. Es gab genug Platz für das VCS-Checkout, aber die Build-Tools von Android scheitern nicht mit hilfreichen Fehlermeldungen, wenn die temporären und Cachedateien, die sie erstellen, den verfügbaren Speicherplatz überschreiten.

Verwandte Themen