Skip to content

0.25 breaks compilation #517

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

Closed
SUPERCILEX opened this issue Aug 25, 2018 · 2 comments
Closed

0.25 breaks compilation #517

SUPERCILEX opened this issue Aug 25, 2018 · 2 comments

Comments

@SUPERCILEX
Copy link
Contributor

Somehow, coroutines are being double packaged:

Caused by: com.android.tools.r8.utils.AbortException: Error: Program type already present: kotlinx.coroutines.experimental.InvokeOnCancellation

Project: https://github.com/SUPERCILEX/Robot-Scouter/tree/0b661fa28ada67983c6155730962be5f0e6d59ff
Setup: ./gradlew setup
Upgrade the Coroutines version here: https://github.com/SUPERCILEX/Robot-Scouter/blob/0b661fa28ada67983c6155730962be5f0e6d59ff/buildSrc/src/main/kotlin/Config.kt#L25

@elizarov
Copy link
Contributor

This seems to be caused by the fact that Google tools do not support JEP 238 multi-release jars. I'm closing at a duplicate of #510. See it for tools versions that should fix the problem.

@SUPERCILEX
Copy link
Contributor Author

Gotya, thanks!

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

No branches or pull requests

2 participants