Error:Execution failed for task ':app:transformClassesWithDexBuilderForDebug'.\ > com.android.build.api.transform.TransformException: java.lang.IllegalStateException: Dex archives: setting .DEX extension only for .CLASS files \
由于 app gradle中同时引用了:V7,V4相同的jar包
例如:compile 'com.android.support:support-v4:25.3.1'
compile 'com.android.support:appcompat-v7:25.3.1'
都是25.3.1。建议江v7隐藏掉。v4的兼容性更强