Viewing bytecode in Android Studio

Viewed 297

I have a problem with my Android Studio Show byte code is disabled. How can I solve this?

enter image description here

1 Answers
  1. Seeing Kotlin ByteCode

Open that particular file by double clicking it .. Once in that file click Ctrl-Shift-A to open the global action search.

Search For Kotlin ByteCode and click enter. You'll be able to see the ByteCode in a pane to the left

Ref:Medium Article on Seeing Java Equivalent of Kotlin File

  1. See Dalvik Bytecode

Create an APK of your file and then Build-> Analyze APK and analyse that apk. Open classes.dex. Right click on the file you want to see and then select Show ByteCode

Related