I get following error when I was running an app within Android Studio 2.
Gradle tasks [:app:assembleDebug] Could not determine the dependencies of task \':app:cr
I was encountering the same issue. In my App build.gradle I had
apply plugin: 'com.android.application' apply plugin: 'dexguard' apply plugin: 'io.fabric'
I just switched Dexguard and Fabric, then it worked!
apply plugin: 'com.android.application' apply plugin: 'io.fabric' apply plugin: 'dexguard'