W
W
wrewolf2015-07-31 13:14:40
Java
wrewolf, 2015-07-31 13:14:40

Without clean-build android, the project cannot be built, how to overcome Multiple dex files AnimRes?

The question is why the project is not going to be re-built. Swears at

com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;

Google suggested that this is a cant in dependencies, but it already appears when
dependencies {
    compile 'com.android.support:cardview-v7:22.2.1'
    compile 'com.android.support:recyclerview-v7:22.2.1'
}

Where to dig, otherwise it’s already fed up with doing clean-run or rebuil-run every time

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question