question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Program type already present: okhttp3.package-info

See original GitHub issue

I used library version 3.11.0 and the project was going fine, but as soon as I updated the version to 3.12.0, I get the following error:

> Task :app:transformDexArchiveWithExternalLibsDexMergerForStaging FAILED
AGPBI: {"kind":"error","text":"Program type already present: okhttp3.package-info","sources":[{}],"tool":"D8"}

FAILURE: Build failed with an exception.

What could be the problem, nothing else changed, except for the version of Okhttp?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:14
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
swankjessecommented, Dec 16, 2018

Can do.

4reactions
amitoncommented, Dec 16, 2018

@yschimke I just noticed 3.13 is scheduled for January 2019. Any chance we can get a minor version (3.12.1 ?) version before end of December?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Program type already present: okhttp3.Address
I have already implemented okHttp in my apps gradle file. Seems like the jar file also implementing the same.
Read more >
Error: Program type already present: okhttp3.package-info
I used library version 3.11.0 and the project was going fine, but as soon as I updated the version to 3.12.0, I get...
Read more >
HttpURLConnection - Android Developers
Such sign-on pages are typically presented by using HTTP redirects. ... referenced by this URL, if such a connection has not already been...
Read more >
Spring Boot Reference Documentation
Try the How-to documents. They provide solutions to the most common questions. Learn the Spring basics. Spring Boot builds on many other Spring...
Read more >
Code recipes - LeakCanary
Bug. If you think a recipe might be missing or you're not sure that what you're trying to achieve is possible with the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found