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

Resource conflict: ic_launcher / app icon in library #22

Closed
clemp6r opened this issue Mar 27, 2015 · 1 comment
Closed

Resource conflict: ic_launcher / app icon in library #22

clemp6r opened this issue Mar 27, 2015 · 1 comment
Assignees

Comments

@clemp6r
Copy link

clemp6r commented Mar 27, 2015

After adding your lib to my app dependencies I cannot build my project:

Error:(13, 9) Execution failed for task ':app:processDevDebugManifest'.
Manifest merger failed : Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:13:9
    is also present at com.iangclifton.android:floatlabel:1.0.2:12:9 value=(@drawable/ic_launcher)
    Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:10:5 to override

I'm not sure it is relevant to have a launcher icon in a library. Can you remove it?

@IanGClifton IanGClifton self-assigned this Mar 30, 2015
IanGClifton added a commit that referenced this issue Mar 30, 2015
This removes the ic_launcher.png icon for the library and removes the
reference in the AndroidManifest to avoid conflicts.
@IanGClifton
Copy link
Owner

Should be fixed now in master and tag v1.0.3. I've pushed the changes to Maven Central, so you should be able to use compile 'com.iangclifton.android:floatlabel:1.0.3' soon. Let me know if that fixes your issue.

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