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.

Invalid package reference : kotlinx-coroutines-core-1.3.6

See original GitHub issue

Describe the bug Upgrading to version 0.11.0 of the library, we are seeing lint errors on our build due to the presence of kotlinx-coroutines-core/1.3.6

The lint error we see is this:

/home/jenkins/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.3.6/401dd0/kotlinx-coroutines-core-1.3.6.jar: 

Error: Invalid package reference in org.jetbrains.kotlinx:kotlinx-coroutines-core; 
not included in Android: java.lang.instrument. 
Referenced from kotlinx.coroutines.debug.AgentPremain. [InvalidPackage]

Here is the related bug with 1.3.6 on kotlinx.coroutines https://github.com/Kotlin/kotlinx.coroutines/issues/2004.

Is it possible to upgrade to 1.3.7 to remove this lint error.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ahetawal-pcommented, Jun 13, 2020

No worries, just please include the fix in the upcoming major release. Thank you again.

0reactions
colinrtwhitecommented, Aug 18, 2020

This is now fixed in 0.12.0 by updating Coroutines to 1.3.8.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Error: Invalid Package Reference Value" message when ...
The message "Error: Invalid Package Reference Value" occurs because the carrier UPS API only allows 35 characters in the Content Description ...
Read more >
Android Lint Error 1.3.6 - Invalid package reference #2004
This check scans through library jars and looks for references to API packages that are not included in Android and flags these. This...
Read more >
Hard 120603 - Invalid Package Reference Value [Solution]
This error happens when the Customer Order # exceeds the length of 35 characters when using UPS Mail Innovations. To solve this, you...
Read more >
Firestore: Invalid package reference in library - Stack Overflow
You can remove this error by setting the following content in a lint.xml file: <?xml version="1.0" encoding="UTF-8"?> ...
Read more >
Hard 120603 - Invalid Package Reference Value [Solution]
When processing UPS orders, you might come across the "Hard 120603 - Invalid Package Reference Value" error. This error happens when 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