야간 빌드를위한 CI 서버가 있습니다. 우리는 또한 xamarin 빌드를위한 빌드 서버에 필요한 종속성을 가지고 있습니다. 어떤 이유로 든 이번 주에 뭔가가 변경되었지만 (현재는 모릅니다) _UpdateAndroidResgen 빌드 단계에서 aapt가 두 번 정의 된 속성을 얻으면 빌드가 실패하게됩니다.Xamarin 빌드가 aapt에서 실패합니다 (속성 *** 모두 이미 정의 됨)
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.
나는 문제 4 일 전 통과 된 지금뿐만 아니라 aapt에 오류로 실패 동일한 코드로 빌드 주자에있을 것 같다 확인했습니다. 또한 android SDK와 빌드 도구 버전이 항상 이전 버전과 동일하다는 것을 확인했습니다. 되돌릴, 모든 bin 및 obj 폴더뿐만 아니라 xamarin 캐시 폴더 ~ \ AppData \ Local \ Xamarin \ 삭제했습니다 시도했습니다. 또한 안드로이드 빌드 도구를 다시 설치했습니다. 이 시점에서 정말 어려움을 겪습니다.
전에이 문제를 본 사람이 있습니까?