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

Error compiling Xamarin Android sample #6

Open
gerryhigh opened this issue Oct 3, 2016 · 2 comments
Open

Error compiling Xamarin Android sample #6

gerryhigh opened this issue Oct 3, 2016 · 2 comments

Comments

@gerryhigh
Copy link

I just tried compiling this project using 2016.3.930.1 bits. I'm using Xamarin Android 7.0.1.2 with the SDK Tools Version: 25.2.2
SDK Platform Tools Version: 24.0.3
SDK Build Tools Version: 23.0.3

I get these 4 errors:

Error APT0000: Attribute "strokeColor" has already been defined (APT0000) (Samples)
Error APT0000: Attribute "strokeWidth" has already been defined (APT0000) (Samples)
Error APT0000: Attribute "fillColor" has already been defined (APT0000) (Samples)
Error APT0000: Dimension types not allowed (at 'strokeWidth' with value '2dp'). (APT0000) (Samples)

@ginev
Copy link
Contributor

ginev commented Oct 4, 2016

Hello @gerryhigh,

I could not reproduce these issues on my side. I am using Xamarin.Android Community Edition 7012, Target Android API Level 6.0 (23), SDK Platform Tools 24.0.3 and SDK Build Tools 24.0.3.

Make sure you are targeting API Level 23 as we do not currently officially support API Level 24.

Also, make sure you are working in the development branch of this repository.

@gerryhigh
Copy link
Author

What version of Xamarin.Android is in the community edition? That is very important for comparison. I'm running 7.0.1.2

I updated my build tools to 24.0.3 and now just get 2 compile errors:
Error APT0000: Attribute "strokeWidth" has already been defined (APT0000) (Samples)
Error APT0000: Dimension types not allowed (at 'strokeWidth' with value '2dp'). (APT0000) (Samples)

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

2 participants