javiersantos / AppUpdater

A library that checks for your apps' updates on Google Play, GitHub, Amazon, F-Droid or your own server. API 9+ required.
Apache License 2.0
1.98k stars 410 forks source link

Import project lib to gradle and run #220

Open ivasku opened 2 years ago

ivasku commented 2 years ago
Details
Builder
new AppUpdater(this)
   ...
   .start();
Reproduction Steps
  1. Download project
  2. Import to Android studio
  3. build the project
Expected Result

For the MainActivity to run

Actual Result

Build error:

Task :app:compileDebugJavaWithJavac FAILED /Users/a/Downloads/AppUpdater-master/app/src/main/java/com/github/javiersantos/appupdater/demo/MainActivity.java:15: error: package com.github.javiersantos.appupdater.demo.databinding does not exist import com.github.javiersantos.appupdater.demo.databinding.ActivityMainBinding; ^ error: Bad service configuration file, or exception thrown while constructing Processor object: javax.annotation.processing.Processor: android.databinding.annotationprocessor.ProcessDataBinding Unable to get public no-arg constructor 2 errors

Bad service configuration file, or exception thrown while constructing Processor object: javax.annotation.processing.Processor: android.databinding.annotationprocessor.ProcessDataBinding Unable to get public no-arg constructor