-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Android Lint Error 1.3.6 - Invalid package reference #2004
Comments
As a temporary workaround, you can suppress this in lint in your lint XML config <lint>
<!-- Temporary until https://github.com/Kotlin/kotlinx.coroutines/issues/2004 is resolved. -->
<issue id="InvalidPackage">
<ignore path="**/kotlinx-coroutines-core-*.jar"/>
</issue>
</lint> |
This is indeed a very unfortunate problem, we never tested lint check. Hopefully, I will release a 1.3.7 release with lint suppression next week |
I've published a fixed version It would be nice if someone could verify it against their (likely more complex and real-world-ish) projects before we release it as 1.3.7. |
@qwwdfsad I confirm that the |
@qwwdfsad I too can confirm that |
Same here |
Kotlin/kotlinx.coroutines#2004 The bug will fixed in 1.3.7
Works for my projects! |
https://github.com/amardeshbd/android-police-brutality-incidents/pull/146/checks?check_run_id=793953609 ``` Errors found: /home/runner/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.3.6/84cc2e5a484555e49e908fd831ff503303401dd0/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] ``` See * Kotlin/kotlinx.coroutines#2004 * coil-kt/coil#430
I'm seeing exactly the same problem on 1.6.1:
Should I reopen the issue? |
I'm seeing the following Android lint error when upgrading from
1.3.5
to1.3.6
The text was updated successfully, but these errors were encountered: