Skip to content
Kai edited this page Jul 5, 2015 · 2 revisions

General

I don't use Maven or Gradle, how can I use the library?

Just download the latest android-remote-notifications-1.1.0-all.jar. It contains all necessary dependencies.

Gradle

Problem

You get the following error message when calling gradle:

FAILURE: Build failed with an exception.

* Where:
Script 'https://raw.githubusercontent.com/kaiwinter/JCenter/master/installv1.gradle' line: 1

* What went wrong:
A problem occurred evaluating script.
> org/gradle/api/publication/maven/internal/DefaultMavenFactory

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 6.406 secs

Solution

Use gradle 2.4+, or use com.github.dcendents:android-maven-gradle-plugin:1.2 instead 1.3