Including OpenCV in Android Studio project yields 'Unresolved dependencies' error
I finally solved this by changing the line
apply plugin: 'com.android.application'
in the imported OpenCV module's build.gradle file to
apply plugin: 'com.android.library'
and deleting the defaultConfig field in the same gradle file. I found this solution here.