finding kmm is a bit like 'hard mode' for gradle &...
# multiplatform
c
finding kmm is a bit like 'hard mode' for gradle & build setup in general 😅 My IDE (Android Studio) is able to find references from my shared module without issue, but I'm getting
Unresolved reference
errors for classes from my com.myapp.shared package when I actually run/build the android app on an emulator. Any tips on where to start looking for config issues?
j
Can you share your build.gradle.kts configuration?
c
Interestingly, the issue ended up being case sensitivity. I accidentally used camel case for the package name when creating a new shared module (via the Kotlin Multiplatform Shared Module wizard in Android Studio). The IDE accepted mixed case for package names, but my gradle setup did not. I renamed the packages to all lower cases to match elsewhere in the project and everything is working again
l
That sounds like a good youtrack issue to file (unless there is one already).