Simple plugin for IntelliJ IDEA & Android Studio to easily compile Java & Kotlin files to smali.
Have you ever compiled and packaged a dummy Android application just to grab some Java sources in smali? Stop that! Transforming Java to smali just got easier.
- create or open a Java source file with your desired functionality
- click 'Build' and 'Compile to smali'
- wait while IDEA's indicating the compilation process
- the smali file is opened automatically in your editor
java2smali is available at JetBrains Plugin Repository and can therefore be found in your IDE's plugin manager! Alternatively, you can download the plugin from the release section.
Build From Source
This plugin uses JetBrains gradle-intellij-plugin and can easily build from source.
Clone the repository:
git clone https://github.com/ollide/intellij-java2smali.git cd intellij-java2smali
Build the plugin with Gradle:
The plugin can be found in