https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
d

Dave Leeds

09/01/2020, 7:48 PM
Hey all, with the new KMM plugin loaded into Android Studio 4.1 RC-2, I generated a project using the wizard, and ended up with this:
Copy code
A problem was found with the configuration of task ':shared:runCommonizer' (type 'CommonizerTask').
> Directory '/Users/dave.leeds/.konan/kotlin-native-prebuilt-macos-1.4/klib/common' specified for property 'params.originalCommonLibsDir' does not exist.
Any ideas what I might have done wrong?
I see a
commonized
folder in that location, but not a
common
folder.
Okay, I just deleted the entire
kotlin-native-prebuilt-macos-1.4
folder, and resynchronized Gradle. Looks like that did the trick. Must have had a partially-baked folder for some reason.
l

louiscad

09/01/2020, 11:31 PM
Worth reporting on kotl.in/issue IMO
k

Kirill Shmakov [JB]

09/02/2020, 8:35 AM
Looks like Kotlin/Native folder was in inconsistent state.
l

louiscad

09/02/2020, 8:36 AM
@Kirill Shmakov [JB] Shouldn't it check it for integrity and auto-fix it so it's kinda idempotent, regardless of past failures?
k

Kirill Shmakov [JB]

09/02/2020, 8:39 AM
I shared the link on this problem with relevant person, so he will think about necessary actions.
👍 3
4 Views