Closed
Description
I brought the library into my project by using Gradle, but I believe the project in the repository contains launcher icon images which are colliding with the ones already in the app. I'm sure I could mitigate the issue by renaming my icon files and their reference in the manifest, but it would probably be more helpful for others if it just worked. I assume you would just need to modify the project in Maven Central... Below are the errors that Gradle spits out at me...
Error:Gradle: Execution failed for task ':dmf:processDebugResources'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
/Applications/Android Dev/sdk/build-tools/19.1.0/aapt package -f --no-crunch -I /Applications/Android Dev/sdk/platforms/android-19/android.jar -M /Users/tonithy/Documents/Android Workspace/DMF/dmf/build/manifests/debug/AndroidManifest.xml -S /Users/tonithy/Documents/Android Workspace/DMF/dmf/build/res/all/debug -A /Users/tonithy/Documents/Android Workspace/DMF/dmf/build/assets/debug -m -J /Users/tonithy/Documents/Android Workspace/DMF/dmf/build/source/r/debug -F /Users/tonithy/Documents/Android Workspace/DMF/dmf/build/libs/dmf-debug.ap_ --debug-mode --custom-package com.osagiethegreat.dmf --output-text-symbols /Users/tonithy/Documents/Android Workspace/DMF/dmf/build/symbols/debug
Error Code:
1
Output:
res/drawable-mdpi-v4/ic_launcher.png:0: error: Resource entry ic_launcher is already defined.
res/drawable-mdpi/ic_launcher.png:0: Originally defined here.
res/drawable-xhdpi-v4/ic_launcher.png:0: error: Resource entry ic_launcher is already defined.
res/drawable-xhdpi/ic_launcher.png:0: Originally defined here.
res/drawable-xxhdpi-v4/ic_launcher.png:0: error: Resource entry ic_launcher is already defined.
res/drawable-xxhdpi/ic_launcher.png:0: Originally defined here.