Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 tasks
rakeshbaral92 opened this issue Jul 13, 2018 · 6 comments
Labels
question Further information is requested

Comments

@rakeshbaral92
Copy link

  • 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
@javiersantos
Copy link
Owner

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

@javiersantos javiersantos added the question Further information is requested label Jul 13, 2018
@rakeshbaral92
Copy link
Author

buildgradle.txt

@javiersantos
Copy link
Owner

javiersantos commented Jul 13, 2018

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.

@rakeshbaral92
Copy link
Author

rakeshbaral92 commented Jul 13, 2018 via email

@ChathuraKarunanayaka
Copy link

ChathuraKarunanayaka commented Nov 19, 2018

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

@ChathuraKarunanayaka
Copy link

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  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants