Using buildToolsVersion 23 fails because Multiple dex files define 'AnimRes'
Before you claim DUPLICATE please read the question. This only occurs with the latest version of the build tools. Older versions do not display this problem. I've already tried the solutions offered on other questions here for multiple definitions of @AnimRes . None have helped so far, which is why I posted a new question. Same symptoms, different cause, different solution. I can build without problem when using buildToolsVersion 22.0.1 , but when I switch to buildToolsVersion 23 the build fails with error UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException: Multiple dex files define