Thread
#multiplatform
    Ashley Figueira

    Ashley Figueira

    3 years ago
    I cant seem to get the dependencies for iOSMain working. Can anyone help? Using gradle 4.10.1 and kotlin 1.3.20-eap-100 as in the kotlin example layed out by jetbrains.
    russhwolf

    russhwolf

    3 years ago
    Use gradle 4.7 if you're using coroutines. Later versions will not work due to gradle metadata incompatibilities
    Ashley Figueira

    Ashley Figueira

    3 years ago
    Can i use gradle 4.7 in android studio 3.3?
    russhwolf

    russhwolf

    3 years ago
    I haven't actually tried, but it won't work with the default 3.3 gradle plugin. You might be able to get it working with gradle plugin 3.2.1 but the IDE might complain.
    Otherwise, you can stick to AS 3.2 or use Intellij IDEA with the 3.2 android gradle plugn
    You can track this issue for the fix: https://youtrack.jetbrains.com/issue/KT-29045
    Ashley Figueira

    Ashley Figueira

    3 years ago
    Thank you. I allready have android studio 3.3 and so i dont want to downgrade it. I’ll try what you recommended.
    p

    pandawarrior

    3 years ago
    Don’t have to downgrade it. Just install them alongside each other.
    Ashley Figueira

    Ashley Figueira

    3 years ago
    Used android studio 3.3. Using gradle 4.7 android gradle plugin 3.2.1 ktor version 1.0.1 coroutines version 1.0.1 kotlin 1.3.11 Everything is working fine now thanks.