https://github.com/only52607/smali2java
vscode extension which allows you to decompile a single smali file into java code
https://github.com/only52607/smali2java
android decompile decompiler dex java smali visual-studio-code-extension vscode vscode- vscode-extension
Last synced: 2 months ago
JSON representation
vscode extension which allows you to decompile a single smali file into java code
- Host: GitHub
- URL: https://github.com/only52607/smali2java
- Owner: only52607
- License: mit
- Created: 2021-08-06T13:00:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-06T10:44:29.000Z (over 2 years ago)
- Last Synced: 2025-10-20T22:55:21.556Z (6 months ago)
- Topics: android, decompile, decompiler, dex, java, smali, visual-studio-code-extension, vscode, vscode-, vscode-extension
- Language: TypeScript
- Homepage:
- Size: 237 KB
- Stars: 56
- Watchers: 2
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Smali2Java
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.
[中文说明](/README_CN.md)
## Usage
1. Configure the path to the `jadx` executable in `smali2java.decompiler.jadx.path`.
> [Jadx](https://github.com/skylot/jadx) is an excellent Java bytecode decompiler. Smali2Java uses it for decompilation. More decompilation tools will be supported in future releases.
Download [Jadx](https://github.com/skylot/jadx), unzip it somewhere, and modify the configuration item `smali2java.decompiler.jadx.path` to point to the path of the Jadx executable (not jadx-gui).
- example: C:/Program Files/jadx/bin/jadx.bat
2. Open a smali file using vscode.Then select `Decompile This File` from the editor context menu. Or just click the `Decompile` in the editor title bar.

## Extension Settings
* `smali2java.decompiler.jadx.path`: Path to jadx (or jadx.bat for windows).
* `smali2java.decompiler.jadx.options`: Options used to run jadx decompilation command (will be appended directly to the end of the command).