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

Attribute "radius" has already been defined #53

Open
rocxteady opened this issue Apr 21, 2015 · 2 comments
Open

Attribute "radius" has already been defined #53

rocxteady opened this issue Apr 21, 2015 · 2 comments

Comments

@rocxteady
Copy link

Hello. When I build gradle, it keeps showing me this error: "Attribute "radius" has already been defined". After a little research I discovered ViewPagerIndicator library also uses "radius" attribute. They conflict.

So how can I successfully build both of them?

@lichenyang1993
Copy link

I just copy the source code into my project and remove the dependencies in the build.gradle.Then it works.

@jamesgoodwin
Copy link

Recommend to add a prefix to all resources to prevent this issue. Android Studio can give warnings if its configured in the build.gradle file:

android {
  resourcePrefix 'mylib_'
}

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

3 participants