I cant seem to get the dependencies for iOSMain wo...
# multiplatform
a
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.
r
Use gradle 4.7 if you're using coroutines. Later versions will not work due to gradle metadata incompatibilities
a
Can i use gradle 4.7 in android studio 3.3?
r
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
a
Thank you. I allready have android studio 3.3 and so i dont want to downgrade it. I’ll try what you recommended.
p
Don’t have to downgrade it. Just install them alongside each other.
a
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.