pietrorampini / UpdateChecker

Increase your app's updates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

where to put the "new UpdateChecker(this)"?

pcompassion opened this issue · comments

very simple to use indeed!
However, little info on where to put the code might be helpful for beginners.

UpdateChecker checker = new UpdateChecker(this);
checker.start();

Besides,

dependencies { compile 'com.github.rampo.updatechecker:library:2.1.0' }

gives me an error

`Error:(11, 0) Build script error, unsupported Gradle DSL method found: 'compile()'!

Possible causes could be:

Do you think this is necessary? 804346f

About the Gradle error, I think you are using an old version of Android Studio or Gradle.
The library has been tested in Android Studio 0.8.2 and Gradle 1.12