sromku / android-simple-facebook

[Deprecated] Simple Facebook SDK for Android
Other
879 stars 349 forks source link

Error:Cause: org/gradle/api/publication/maven/internal/DefaultMavenFactory #405

Closed skywalkerlw closed 8 years ago

skywalkerlw commented 8 years ago

Compile error.

I think the solution could be: (I verified it here)

gradle version from classpath 'com.github.dcendents:android-maven-plugin:1.2' to classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'

voghDev commented 8 years ago

In my case this line worked, together with:

gradle/gradle-wrapper.properties:

distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip

and with

build.gradle:

dependencies{
    classpath 'com.android.tools.build:gradle:2.0.0'
    ...
}
skywalkerlw commented 8 years ago

thanks, yes, it works now:)

mpsandhu commented 5 years ago

In my case this line worked, together with:

gradle/gradle-wrapper.properties:

distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip

and with

build.gradle:

dependencies{
    classpath 'com.android.tools.build:gradle:2.0.0'
    ...
}

It works like a charm