Recently the problem of being wrapped up in conflict has collapsed, especially v4,v7
V4 and V7 package conflict resolution Way is! Version to be consistent!!
For example, in one of my projects, the application of this reference package
Compile ' com.android.support:support-v4:25.1.1
Compile ' com.android.support:appcompat-v7:26.0.0-alpha1 '
Compile ' com.android.support:recyclerview-v7:+ '
When compiling, it is reported that:
Error:execution failed for task ': App:transformclasseswithdexforbaidurelease '.
> com.android.build.api.transform.TransformException:com.android.ide.common.process.ProcessException: Java.util.concurrent.ExecutionException:com.android.dex.DexException:Multiple dex Files Define Landroid/support/v4 /content/res/typedarrayutils;
Then on the internet a pass Baidu, for example
Android Studio (Gradle) Resolve Library dependency conflict issues
http://www.mobibrw.com/2016/3777
Then, in the structure of the exported dependency package, it is possible to find various possible duplicate references, all kinds of exclude.
Later on to change the version to the same, just fine ...
Problem with Android Studio V4 V7 package conflict