Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

compile 'com.android.support:multidex:1.0.1' happened wrong: all com android support libraries must use the exact same version

Today, I update my Android studio to 2.3, and I update gradle to 3.4.1. But when I build my project, an error occurred: This is the error So I add " buildToolsVersion '25.0.0' "

My project can build successful, but another error occurred. I can't solve it. I hope to get some help. Thank you! This is the error

When I add compile 'com.prolificinteractive:material-calendarview:1.4.2', this error will occur. This is my androidDependencies

like image 983
Dale.Che Avatar asked Mar 06 '17 09:03

Dale.Che


1 Answers

it's an unnecessary warning for the support:multidex, add this:

//noinspection AndroidLintGradleCompatible
compile 'com.android.support:multidex:1.0.1'
like image 78
Alécio Carvalho Avatar answered Oct 26 '22 13:10

Alécio Carvalho