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
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