kikoso / Swipeable-Cards

A native library providing a Tinder-like cards effect. A card can be constructed using an image and displayed with animation effects, dismiss-to-like and dismiss-to-unlike, and use different sorting mechanisms.
Apache License 2.0
1.48k stars 364 forks source link

Error after adding to project #94

Open BipinBhandari opened 8 years ago

BipinBhandari commented 8 years ago

I am getting this error

[Error:Execution failed for task ':app:processDebugManifest'.
 Manifest merger failed : Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:15:9-43
    is also present at [com.github.kikoso:SwipeableCards:1.1-RELEASE] AndroidManifest.xml:12:9-45 value=(@drawable/ic_launcher).
    Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:12:5-47:19 to override.](url)
niravtopsss commented 8 years ago

i am also getting same issue , how you solve it ?

jitinsharma commented 8 years ago

Do following changes android manifest add this in element xmlns:tools="http://schemas.android.com/tools"

and following in element tools:replace="android:icon"

BipinBhandari commented 8 years ago

Now getting this error:

screen shot 2016-06-15 at 4 50 49 pm
MohiFayden commented 7 years ago

I'm getting the same issue, but the @jitinsharma recommended choice work for me. add this to the manifest: xmlns:tools="http://schemas.android.com/tools"

and then add following to the application element: tools:replace="android:icon"

ivnsch commented 7 years ago

This is very weird issue, does the dependency contain the demo project...?