android studio decompile Kotlin代码转换为Java代码
Decompile button (kotlin to java) in Android Studio is disappeared? - Stack Overflowhttps://stackoverflow.com/questions/58727930/decompile-button-kotlin-to-java-in-android-studio-is-disappearedJetBrains Marketplacehttps://plugins.jetbrains.com/
Android Studio常用Plugin及 手动安装 Plugins_y1361408906的博客-CSDN博客_androidstudio plugins
Decompile button (kotlin to java) in Android Studio is disappeared?
Asked 2 years, 1 month ago
Active 29 days ago
Viewed 1k times
1
2
I'm trying to decompile kotlin code to java. This question describes how to do it
I have to see something like this:
But in fact i see next one.
As you can see I do NOT have a "Decompile" button
Android Studio 3.5
Can anybody help me please?
Follow
asked Nov 6 '19 at 10:23
85311 gold badge99 silver badges2424 bronze badges
2 Answers
2
make sure you have this plugin enabled, should work after
Follow
answered Jan 14 '20 at 4:52
18122 silver badges55 bronze badges
2
Go to Extensions and look for "Java Bytecode Decompiler". Install it and do a complete restart to the Android Studio. Don't just close and open the project, restart the whole program.
Then, when the Android Studio will pop open again, click on "Search Everywhere" (by clicking shift twice), look for "Java Bytecode Decompiler", and make sure it's turned into ON.
That's it. Now the button should be visible.