Closed SUPERCILEX closed 6 years ago
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
./gradlew setup
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.
Gotya, thanks!
Somehow, coroutines are being double packaged:
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