deano2390/FlowTextView

Project build failed

evasyuk opened this issue · 2 comments

After adding
compile 'uk.co.deanwild:flowtextview:2.0.2@aar'
to dependencies list build is failing with:

%project_dir%%main_module_name%\build\intermediates\res\debug\drawable-hdpi-v4\ic_launcher.png: error: Duplicate file.
%project_dir%%main_module_name%\build\intermediates\res\debug\drawable-hdpi\ic_launcher.png: Original is here. The version qualifier may be implied.
Error:Execution failed for task ':actionsContentViewExample:processDebugResources'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\dev\asdk\build-tools\22.0.1\aapt.exe'' finished with non-zero exit value 1

Any ideas how this could be solved?

cnfw commented

Simply removing the un-needed ic_launcher files from this library would fix the problem.

But for now as an app developer, you could simple rename all your drawable folders in your project and add "-v4" to the end of it. This should fix your problem (at least it did for me) Its an easy enough workaround, but still this is something that the developer of the library should fix

Should be sorted in 2.0.3