Search code examples
androidandroid-studioandroid-gradle-plugindexguardbootclasspath

Android Studio 2.0 with Gradle 2.0 and Dexguard bootClasspath error


I updated to Android Studio 2.0, and now I would like to build my project, but I got this exception:

Execution failed for task ':app:dexguardDebug'. No such property: bootClasspath for class: com.android.builder.core.AndroidBuilder

I use dexguard, gradle 2.0.0

I don't know what is wrong with the new Android Studio.


Solution

  • I solved my problem. I checked DexGuard 7.1.22 which gradle plugin is supported, and i saw that Android gradle plugin 1.5.0 version is supported, so I changed from 2.0.0 to 1.5.0 and everything is working fine.