Tom_Love_Jerry
Tom_Love_Jerry

Reputation: 759

Android Studio build faild

XXXX/build/intermediates/res/qyer/debug/drawable-hdpi-v4/ic_launcher.png: error: Duplicate file. XXXX/build/intermediates/res/qyer/debug/drawable-hdpi/ic_launcher.png: Original is here. The version qualifier may be implied. Error:Execution failed for task ':XXXX:processQyerDebugResources'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/android-sdk-macosx/build-tools/22.0.0/aapt'' finished with non-zero exit value 1

        classpath 'com.android.tools.build:gradle:1.2.3'

How I Get It~! Please help Me~!

Upvotes: 1

Views: 2073

Answers (1)

Joshua
Joshua

Reputation: 6241

Both drawable-hdpi-v4 and drawable-hdpi folders are respresenting hdpi. You do not need two application icon for same screen size. Just delete one of ic_launcher.png in drawable-hdpi-v4 or drawable-hdpi. Then, it should be fine.

Upvotes: 1

Related Questions