Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define android/support/v7/widget/DefaultItemAnimator$1;
I want to exclude android/support/v7/widget/DefaultItemAnimator from com.android.support:recyclerview-v7:26.1.0 and com.google.android.support:wearable:1.0.0.
Is it possible or is any other way to solve the above problem?