简体   繁体   English

如何在Android Studio中将Kotlin错误链接到源?

[英]How do I link Kotlin errors to source in Android Studio?

I'm using Kotlin plugin in Android Studio, everything is working fine, except if there are any compilation errors or warning in Kotlin files during make, the resulting error messages in Messages window are not clickable - clicking them does not take you to the corresponding file (It works for errors in Java files) 我在Android Studio中使用Kotlin插件,一切正常,除非在make期间Kotlin文件中有任何编译错误或警告,消息窗口中生成的错误消息不可点击 - 单击它们不会带你到相应的file(适用于Java文件中的错误)

Is this a bug or just something not implemented yet? 这是一个错误还是只是没有实现的东西? I'm using Android Studio beta 0.8.6, Build tools 20.0.0 Kotlin 0.8.11, Gradle 1.12. 我使用的是Android Studio beta 0.8.6,Build tools 20.0.0 Kotlin 0.8.11,Gradle 1.12。

This issue was fixed in Kotlin M12 and later, it is no longer an issue. 此问题已在Kotlin M12中修复,之后不再是问题。

See "Fixed status of issue https://youtrack.jetbrains.com/issue/KT-5648 请参阅“问题的固定状态https://youtrack.jetbrains.com/issue/KT-5648

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android Studio:如何解决这些错误 - Android Studio: How do i fix these errors 我已经在源代码树中克隆了一个存储库,如何将源代码树与android studio链接以反映所做的更改 - I have cloned a repository in source tree how do I link source tree with android studio to reflect changes made 如何使用Kotlin在Android Studio上正确设置SwipeRefreshLayout? - How do I properly set SwipeRefreshLayout on Android Studio with kotlin? 如何在Android Studio中打开Kotlin / JVM项目? - How do I open a Kotlin/JVM project in Android Studio? 我如何在 android 工作室中使用 kotlin 获得星期几? - how do i get the days of the week using kotlin in android studio? 如何将对话框的按钮居中? (科特林,Android Studio) - How do I center the buttons of the dialog? (Kotlin, Android Studio) 如何在Android Gradle项目中“链接源”? - How do I “link source” in an Android Gradle project? 如何在Android Studio中摆脱这些错误? - How do I get rid of these errors in Android Studio? 如何在Android Studio上使用TaskStackBuilder消除错误? - How do I get rid of errors using TaskStackBuilder on Android Studio? Android Studio 3:如何将源代码库导入项目 - Android Studio 3: how do I import a source code library into a project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM