Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android error APT0000: Attribute "..." has already been defined #6

Open
dtchepak opened this issue Jun 20, 2017 · 0 comments
Open

Android error APT0000: Attribute "..." has already been defined #6

dtchepak opened this issue Jun 20, 2017 · 0 comments

Comments

@dtchepak
Copy link

dtchepak commented Jun 20, 2017

Thanks for this sample and the accompanying blog post; I've gotten much closer to XamForms netstandard after finding it! :)

Just tried to build with VS2017 (Version 15.2 (26430.13) Release) with a fresh clone of the repo and get the error in the issue description (same error with my own project). Just wondering if this is due to recent VS/Xamarin updates, or if it is unique to my install. Here's a snippet of the output log:

...
2>    Processing: C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values-uz-rUZ\values-uz-rUZ.xml
2>    Processing: C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values-vi\values-vi.xml
2>    Processing: C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values-zh-rCN\values-zh-rCN.xml
2>    Processing: C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values-zh-rHK\values-zh-rHK.xml
2>    Processing: C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values-zh-rTW\values-zh-rTW.xml
2>    Processing: C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values-zu\values-zu.xml
2>    Processing: C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.RecyclerView\library_project_imports\res\values\values.xml
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.RecyclerView\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "layoutManager" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.RecyclerView\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "spanCount" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.RecyclerView\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "reverseLayout" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.RecyclerView\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "stackFromEnd" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "mediaRouteAudioTrackDrawable" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "mediaRouteButtonStyle" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "mediaRouteCloseDrawable" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "mediaRouteDefaultIconDrawable" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "mediaRoutePauseDrawable" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "mediaRoutePlayDrawable" has already been defined
...

Potentially relevant VS version info is:

VisualStudio.15.Release/15.2.0+26430.13
NuGet Package Manager   4.2.0
Visual Studio Tools for Universal Windows Apps   15.0.26430.06
Xamarin   4.5.0.486 (fec6f88)
Xamarin.Android SDK   7.3.1.2 (9dbc4c5)
Xamarin.iOS and Xamarin.Mac SDK   10.10.0.37 (ad35de4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant