where to put the "new UpdateChecker(this)"?
pcompassion opened this issue · comments
pcompassion commented
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:
- you are using Gradle version where the method is absent (Fix Gradle settings)
- you didn't apply Gradle plugin which provides the method (Apply Gradle plugin)
- or there is a mistake in a build script (Goto source)`
Pietro Rampini commented
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