Getting this on android studio 2.2.
Does anyone have a workaround?
My app build file is:
apply plugin: \'com.android.application\' android {
add this in your build.gradle:
allprojects { repositories { jcenter() } gradle.projectsEvaluated { tasks.withType(JavaCompile) { options.compilerArgs << "-Xbootclasspath/a:" + System.properties.get("java.home") + "/lib/rt.jar" } } }