Niklas
Niklas

Reputation: 25453

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

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.

Upvotes: 4

Views: 2868

Answers (1)

Niklas
Niklas

Reputation: 25453

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.

Upvotes: 2

Related Questions