Smali2Java is a vscode extension that allows you to decompile a single smali file into Java code, which can be useful especially if you want to check that your modified smali code is correct.
https://marketplace.visualstudio.com/items?itemName=ooooonly.smali2java
- Configure the path to the
jadxexecutable insmali2java.jadxPath.
jadx is an excellent Java bytecode decompiler. Learn more about configuring it at
Requirement.
- Open a smali file using vscode.Then select
Decompile to Javafrom the editor context menu. Or just click theDecompilein the editor title bar.
Download jadx, unzip it somewhere, and modify the configuration item smali2java.jadxPath to point to the path of the Jadx executable (not jadx-gui).
- example: C:/Program Files/jadx/bin/jadx.bat
smali2java.jadxPath: Specifies the jadx executable path which use to decompile smali.smali2java.jadxOptions: Specifies additional command line arguments required for decompilation
