ExpandablePanel
ExpandablePanel copied to clipboard
Remove ic_launcher.png
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.
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!
Created a pull request @JorgeCastilloPrz . I ran the sample app to make sure everything still worked fine.
If you still see this issue, add:
tools:replace="android:icon"
to application
tag in AndroidManifest.xml
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
:)
http://stackoverflow.com/questions/25981156/tools-replace-not-replacing-in-android-manifest
after changing order of compile
it works -> ¯_(ツ)_/¯