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

Joey

04/21/2020, 3:49 AM
Hi, i am trying to use dispatcher of swift in my iosMain. It couldn't resolve some of the references
m

magnumrocha

04/21/2020, 12:54 PM
did you have the imports? have you tried to compile your code?
sometimes, this could be a problem of IDE plugin, and even it not recognising the code, it still compiling fine...
e

emmano

04/21/2020, 1:16 PM
it could also be that you have not compiled yet
j

Joey

04/22/2020, 1:15 AM
Will triple check. Thanks guys! @magnumrocha @emmano
👍 2
I decided to create another project from scratch. Upon hovering log in my jvmMain, i can't find the correct logger for android specific platform. Do i have problem on my gradle? Imports? Thanks!
m

magnumrocha

04/22/2020, 7:46 AM
well, the
Log
class is from Android SDK, so you have to setup an android target in your kmp plugin, if you just setup an jvm target (means normal java setup), you won't have the android sdk tools and classes...
j

Joey

04/23/2020, 1:23 AM
Thats it! Thank you so much @magnumrocha u the best!
👍 1