Currently Tools >> Kotlin>> Decompile Kotlin to Java
is enabled only for compiled Kotlin classes (.class
, not .kt
extension) located at app/build/tmp/kotlin-classes/
after a successful build.
A note to the @Uriel Frankel's workaround:
If Tools >> Kotlin >> Show Kotlin Bytecode >> Decompile button
is disabled (or not shown) the Java Bytecode Decompiler
plugin should be installed: Preferences >> Plugins >> search for
Java Bytecode Decompiler` >> check the plugin & press OK.