Hello,
We've recently migrated to AndroidStudio.
Working on our projects, we often get the following failure to build a 
module:

    UNEXPECTED TOP-LEVEL EXCEPTION:
    com.android.dex.DexException: Multiple dex files define 
Landroid/support/annotation/AnimRes;

Cleaning the module and rebuilding makes this goes away.
Also changing dexOptions to:
    dexOptions {
        incremental false
    }
seems to fix this too.

Could not find any documentation as of the dexOptions and how to set them 
up correctly.
Could you please point to a dexOptions documentation and suggested usage?


Guy

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adt-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to