问题
I have a project for android that uses an own library with kotlin/native to share it with iOS app. I started it with this tutorial.
It's working perfectly, already on production, so I'm very happy with it but I have one problem that I'm not able to solve: In Android Studio, when I cmd+click a kotlin/native function from the android project class (also kotlin) it goes to decompiled .class file instead of the .kt file. This make it much slower to debug or just implement new functions.
I tried to add enableFeaturePreview("GRADLE_METADATA")
to settings.gradle but it doesn't help.
I'm pretty sure that I'm missing some configuration property but I'm not able to find it out.
来源:https://stackoverflow.com/questions/60729337/android-studio-jump-to-definition-cmdclick-from-android-code-to-kotlin-nativ