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 regarding @drawable/ic_launcher #52

Open
engmsaleh opened this issue Oct 1, 2014 · 1 comment
Open

Error regarding @drawable/ic_launcher #52

engmsaleh opened this issue Oct 1, 2014 · 1 comment

Comments

@engmsaleh
Copy link

When integrate the Maven dependency of Signal A into my Android studio project and build I got the following error

Error:(21, 9) Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application@icon value=(@drawable/icon) from AndroidManifest.xml:21:9
    is also present at com.github.erizet.signala:signala-longpolling:0.20:7:18 value=(@drawable/ic_launcher)
    Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:19:5 to override
@engmsaleh
Copy link
Author

I have found a solution here
http://stackoverflow.com/questions/24506800/android-studio-gradle-icon-error-manifest-merger

Answer @shimi_tap

Solved it by adding to my manifest tag xmlns:tools="http://schemas.android.com/tools"

Then added tools:replace="android:icon,android:theme" to the application tag

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