AppUpdater icon indicating copy to clipboard operation
AppUpdater copied to clipboard

By adding this library, I am unable to generate signed APK. The error is "Duplicate Entry"

Open rakeshbaral92 opened this issue 6 years ago • 6 comments

  • [ ] I have verified there are no duplicate active or recent bugs, questions, or requests.
  • [ ] I have verified that I am using the latest version of AppUpdater.
  • [ ] I have given my issue a non-generic title.
  • [ ] I have read over the README, Wiki and FAQs (before asking questions on how to do something).
Details
  • PiracyChecker version: 2.x.x
  • Device OS version: 7.1.1
  • Device Manufacturer: LG
  • Device Name: Nexus 5X
Builder
new AppUpdater(this)
   ...
   .start();
Reproduction Steps
Expected Result
Actual Result

rakeshbaral92 avatar Jul 13 '18 12:07 rakeshbaral92

The problem may be a dependency conflict (possible duplicate of #112). Please, paste the build.gradle file of your project.

javiersantos avatar Jul 13 '18 12:07 javiersantos

One of your dependencies could be including okhttp or jsoup.

Try with:

implementation ('com.github.javiersantos:AppUpdater:[latest_version]') {
    exclude group: 'com.squareup.okhttp3'
}

or

implementation ('com.github.javiersantos:AppUpdater:[latest_version]') {
    exclude group: 'org.jsoup'
}

On the other hand, it would be very useful to include more details about the log, which will show which class is affecting the compilation.

javiersantos avatar Jul 13 '18 13:07 javiersantos

Issue Class for generating signed APK

On Fri, Jul 13, 2018 at 6:37 PM, Javier Santos [email protected] wrote:

One of your dependencies could be including okhttp or jsoup.

Try with:

implementation ('com.github.javiersantos:AppUpdater:[latest_version]') { exclude group: 'com.squareup.okhttp3' }

or

implementation ('com.github.javiersantos:AppUpdater:[latest_version]') { exclude group: 'org.jsoup' }

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/javiersantos/AppUpdater/issues/139#issuecomment-404828161, or mute the thread https://github.com/notifications/unsubscribe-auth/Ac_mNPXOYwIylg1D1ymhFx4YCn-atGPsks5uGJuQgaJpZM4VO1dn .

--

Thanks & Regards

Rakesh Kumar Baral (Android Developer)

[image: Inline image 5] Nexus Technoware Solution Pvt.Ltd (Microsoft Certified & STPI Registered Company) (CIN : U72200OR2007PTC009685)

Plot No: 1692/4371, Nalini Nilaya,Green Park, Kalarahanga, Near Kripalu Residency, Patia, Bhubaneswar-751024, India Contact No- +91-9778209633, +91-8260003333 http://www.ntspl.co.in & http://www.ntsplhostin http://www.ntsplhosting.com/g.com https://www.ntsplhosting.com/security/ssl-certificate/

https://www.ntsplhosting.com/security/ssl-certificate/

https://www.ntsplhosting.com/security/ssl-certificate/ https://www.ntsplhosting.com/security/ssl-certificate/

rakeshbaral92 avatar Jul 13 '18 13:07 rakeshbaral92

when the above lines are added, it gives below warnings and unable to generate signed apk

ChathuraKarunanayaka avatar Nov 19 '18 06:11 ChathuraKarunanayaka

com.github.javiersantos.appupdater.UtilsLibrary: can't find referenced class org.jsoup.Jsoup  
com.github.javiersantos.appupdater.UtilsLibrary: can't find referenced class org.jsoup.Connection  
com.github.javiersantos.appupdater.UtilsLibrary: can't find referenced class org.jsoup.nodes.Document  
com.github.javiersantos.appupdater.UtilsLibrary: can't find referenced class org.jsoup.select.Elements  
com.github.javiersantos.appupdater.UtilsLibrary: can't find referenced class org.jsoup.nodes.Element  

ChathuraKarunanayaka avatar Nov 19 '18 06:11 ChathuraKarunanayaka