Skip to content

example-app: com.android.builder.dexing.DexArchiveBuilderException #512

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
tinyvampirepudge opened this issue Aug 24, 2018 · 4 comments
Closed
Assignees
Labels

Comments

@tinyvampirepudge
Copy link

when I run coroutine-android demo, I met this Error on building process.
kotlinx.coroutines-master/ui/kotlinx-coroutines-android/example-app

Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/xxx/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core/0.25.0/5664ba2d20c6dcc88c912cc9666baa7f03203bcd/kotlinx-coroutines-core-0.25.0.jar

@elizarov elizarov changed the title com.android.builder.dexing.DexArchiveBuilderException example-app: com.android.builder.dexing.DexArchiveBuilderException Aug 25, 2018
@elizarov
Copy link
Contributor

elizarov commented Aug 25, 2018

I'm updated Android Gradle Tools version to 3.3.0-alpha04 and Gradle to version 4.9 and it seems that it fixed the problem. Please, check.

@glush
Copy link

glush commented Aug 25, 2018

I'd try with last alpha 3.3.0-alpha06, Gradle 4.9. Confirm. Fixed.

@brettwillis
Copy link

It seems that Gradle 4.9 requires gradle module format version 0.4, while kotlinx-coroutines-core-common-0.25.0.module uses format 0.3.

> Could not resolve org.jetbrains.kotlinx:kotlinx-coroutines-core-common:0.25.0.
     > Could not parse module metadata https://jcenter.bintray.com/org/jetbrains/kotlinx/kotlinx-coroutines-core-common/0.25.0/kotlinx-coroutines-core-common-0.25.0.module
        > Unsupported format version '0.3' specified in module metadata. This version of Gradle supports format version 0.4 only.

Is it currently possible to use coroutines 0.25.0 in a multiplatform project?

@nbransby
Copy link

nbransby commented Sep 5, 2018

@brettwillis looks like you can't go higher than gradle 4.7 to use coroutines atm

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

No branches or pull requests

5 participants