You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Dagger for Kotlin Multiplatform project in androidMain, but my class in androidMain inherits from parent located in commonMain. Dagger is not able to generate code.
This problem can be fixed: kotlin.sourceSets.androidMain.kotlin?.srcDirs += file("${project.projectDir}/src/commonMain/kotlin")
But new Kotlin compiler K2 doesn't support expect and actual classes in same module. Previous code can break this condition.
Do you have any idea how to fix this problem?
The text was updated successfully, but these errors were encountered:
I am using Dagger for Kotlin Multiplatform project in androidMain, but my class in androidMain inherits from parent located in commonMain. Dagger is not able to generate code.
This problem can be fixed:
kotlin.sourceSets.androidMain.kotlin?.srcDirs += file("${project.projectDir}/src/commonMain/kotlin")
But new Kotlin compiler K2 doesn't support expect and actual classes in same module. Previous code can break this condition.
Do you have any idea how to fix this problem?
The text was updated successfully, but these errors were encountered: