JorgeCastilloPrz / ExpandablePanel

Android library for creating an expandable to full screen view inside a viewgroup composition.
Apache License 2.0
422 stars 68 forks source link

Remove ic_launcher.png #4

Open jrobinson3k1 opened 9 years ago

jrobinson3k1 commented 9 years ago

With Android Gradle Plugin 1.2, I'm getting an error claiming a duplicate file:

/workspace/project/app/build/intermediates/res/production/debug/drawable-hdpi-v4/ic_launcher.png: error: Duplicate file.
/workspace/project/app/build/intermediates/res/production/debug/drawable-hdpi/ic_launcher.png: Original is here. The version qualifier may be implied.

This is happening due to this library declaring ic_launcher.png. I can solve this on my project by renaming ic_launcher, but there's really no reason for a library to have this drawable anyway.

JorgeCastilloPrz commented 9 years ago

I had not any trouble compiling the project back then, but i will accept a PR if you want to delete theese icons as they were automatically generated by the IDE at the beginning!

jrobinson3k1 commented 9 years ago

Created a pull request @JorgeCastilloPrz . I ran the sample app to make sure everything still worked fine.

Voyz commented 8 years ago

If you still see this issue, add:

tools:replace="android:icon"

to application tag in AndroidManifest.xml

AndroidGecko commented 8 years ago
Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:26:5-39
    is also present at [com.github.jorgecastilloprz:expandablepanel:1.0.4] AndroidManifest.xml:13:9-45 value=(@drawable/ic_launcher).
    Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:23:3-160:17 to override.

adding tools:replace="android:icon" does nothing does it work for you @JorgeCastilloPrz ? I'm on android studio 2.2 beta 2

AndroidGecko commented 8 years ago

:) http://stackoverflow.com/questions/25981156/tools-replace-not-replacing-in-android-manifest after changing order of compile it works -> ¯(ツ)