daimajia / AndroidViewHover

An elegant way to show your menu or messages.
3.21k stars 721 forks source link

Gradle build problem #23

Open mrThinBone opened 8 years ago

mrThinBone commented 8 years ago

Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:22:9-43 is also present at [com.daimajia.easing:library:1.0.0] AndroidManifest.xml:13:9-45 value=(@drawable/ic_launcher) Suggestion: add 'tools:replace="android:icon"' to element at AndroidManifest.xml:19:5-72:19 to override

Please remove all ic_launcher in your com.daimajia.easing:library

j796160836 commented 8 years ago

+1 for this problem

HerczegDaniel commented 8 years ago

The solution is: You have to put your ic_launcher in a mipmap folder instead of drawable, than in your manifest file write this lines:

android:icon="@mipmap/ic_launcher" (instead of android:icon="@drawable/ic_launcher) tools:replace="android:icon"

Crepusculo commented 8 years ago

@HerczegDaniel It works! thx XD