Error:No such property: bootClasspath for class: com.android.build.gradle.LibraryPlugin Code Answer

Hello Developer, Hope you guys are doing great. Today at Tutorial Guruji Official website, we are sharing the answer of Error:No such property: bootClasspath for class: com.android.build.gradle.LibraryPlugin without wasting too much if your time.

The question is published on by Tutorial Guruji team.

The moment I updated classpath 'com.android.tools.build:gradle:1.0.0' to classpath 'com.android.tools.build:gradle:1.1.0', I get this error message

Gradle ‘Project’ project refresh failed

Error:No such property: bootClasspath for class: com.android.build.gradle.LibraryPlugin

Anyone else having this issue and seems to know how to fix that? I’ve tried searching for bootClasspath in all of my gradle files, however I could not find anything.

Answer

Okay I’ve figured it out why I got those errors:

First of all I was using the facebook-android-sdk, this one was easily fixed by using compile 'com.facebook.android:facebook-android-sdk:3.22.0' rather than downloading the repository manually from GitHub.

The other thing was that I was using JCAndKSolutions android unit test plugins. Simply removing that and using the Android Studio to run the test works now.

We are here to answer your question about Error:No such property: bootClasspath for class: com.android.build.gradle.LibraryPlugin - If you find the proper solution, please don't forgot to share this with your team members.

Related Posts

Tutorial Guruji