developer-krushna/Dex-Editor-Android
GitHub: developer-krushna/Dex-Editor-Android
一款 Android 端的多功能 DEX 字节码编辑器,支持 Smali 编辑、JADX 反编译和重新编译,方便在移动设备上直接修改和分析 APK。
Stars: 195 | Forks: 42
## 我的第一个开源项目 😀🇮🇳
# Dex-Editor-Android
[](https://github.com/developer-krushna/Dex-Editor-Android/actions/workflows/android.yml)
一款正在开发中的多功能高级 *Android **DEX** 文件编辑器*,主要使用 [smali](https://github.com/google/smali) 和 [dexlib2](https://github.com/google/smali/tree/main/dexlib2)。
## 可用的反编译器
- [JADX](https://github.com/skylot/jadx)
## 可用功能
- [x] Dex Smali 类 TreeView
- [x] Smali 导航(方法、字段和字符串列表)
- [x] 反编译单个 smali 类
- [x] 将单个 smali 方法体反编译为 java
- [x] 批量删除类
- [x] Smali 方法流程图
- [x] 使用最佳代码编辑器编辑 Smali
- [x] 批量类编辑器和导航器
- [x] 多 dex 加载器和编译器
- [x] Smali 全功能搜索和替换,支持所有类型的搜索方法
- [x] 跳转到另一个类
- [x] Smali 编译选项
- [x] 字符串列表选项卡
- [x] 在方法体内跳转到 smali 标签(cond、try_catch 等)
- [x] 自定义编辑器选择菜单(调用翻译应用)
- [x] 更快的 Dex 编译,带有实时进度更新
- [x] 支持 smali 编译期间的正确错误处理
- [x] 对 smali 库进行了增强
- [x] 全功能 Smali 编辑器
- [x] 支持 DEX 版本 40 和 41(部分支持)
- [x] 在 android api 21 上运行(仅限我构建的 apk)
## 新手入门
### 前置条件
- **Android Studio**:最新版本(推荐 Ladybug 或更新版本)
- **JDK**:17 或 21(Gradle 9+ 要求)
- **Android SDK**:API 37(Compile SDK)
- **Min SDK**:API 24
### 安装说明
1. **克隆仓库**:
git clone https://github.com/developer-krushna/Dex-Editor-Android.git
2. **打开项目**:
- 启动 Android Studio。
- 点击 `File -> Open` 并选择 `Dex-Editor-Android` 文件夹。
3. **同步与构建**:
- 等待 Gradle 同步完成。
- 点击 **Run** 按钮或导航到 `Build -> Build Bundle(s) / APK(s) -> Build APK(s)`。
## 项目环境
- **Gradle 版本**:9.5.0
- **Android Gradle Plugin (AGP)**:9.2.1
- **Java 版本**:11(用于 Sketchware Pro)/ 17+(用于 Android Studio)
## 待办事项
- [ ] 批量插入和提取类
- [ ] 直接重命名类
## 项目构建使用
- [Sketchware Pro](https://github.com/Sketchware-Pro/Sketchware-Pro),Java 11 版本
- Android Studio
### 下载示例应用
[Dex Editor +](https://github.com/developer-krushna/Dex-Editor-Android/releases/tag/v1.3_final)
## 项目预览
## 下载 Modder Hub
- [下载 Modder Hub](https://modder-hub.blogspot.com)
# 许可证与使用限制
本项目在 Apache License, Version 2.0 下发布。但是,请注意以下关于此代码使用的限制:
- 严禁在私有项目中使用此代码。
- 欢迎仅在此仓库内为本项目做出贡献。
有关许可证条款和使用限制的更多详细信息,请参阅 LICENSE 文件。
# 许可证
```
Copyright (C) 2024-26 Krushna Chandra
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
|
TreeView |
Smali 编辑器 |
|
浏览器 |
Smali 搜索 |
|
编辑器功能 |
旧视频 |
标签:Android, DEX编辑器, DSL, JS文件枚举, Smali, 云资产清单, 后台面板检测, 域名枚举, 移动开发工具, 逆向工程