2015년 10월 13일 화요일

Gradle build error on multidex library

When you meet this kind of error:

Could not resolve com.android.support:multidex:1.0.1

 You probably have added multidex support for targets lower than Android 5.0 like:

multiDexEnabled true

Solution is to install 'Android Support Repository' in 'SDK Manager'


[1] https://developer.android.com/tools/support-library/features.html#multidex
[2] https://developer.android.com/tools/support-library/setup.html#libs-without-res