Kotlin Multiplatform Android Imports won't resolve
I have created a very simple KMP project, with the following structure: -Root --app --gradle --SharedCode --src\commonMain\kotlin\actual.kt --src\iosMain\kotlin\actual.kt --scr\androidMain\kotlin\actual.kt --build.gradle.kts --native --KotlinIOS --iOS project (xcodeproj, etc) Everything works, and the basic project work on both Android and iOS platforms. But when I try to use an android-specific import statement in my androidMain directory, the import statement won't resolve: import android.os.build // Android Studio can't find this actual fun platformName(): String { return "Android" } It is
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.