{"id":21708522,"url":"https://github.com/ufologist/onekey-decompile-apk","last_synced_at":"2025-04-04T20:13:46.134Z","repository":{"id":35818951,"uuid":"40101642","full_name":"ufologist/onekey-decompile-apk","owner":"ufologist","description":"一步到位反编译apk工具(onekey decompile apk)","archived":false,"fork":false,"pushed_at":"2017-02-13T08:43:01.000Z","size":11843,"stargazers_count":803,"open_issues_count":0,"forks_count":211,"subscribers_count":43,"default_branch":"master","last_synced_at":"2025-03-28T19:09:13.348Z","etag":null,"topics":["android","apk","decompile"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ufologist.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-03T02:40:11.000Z","updated_at":"2025-03-03T23:40:34.000Z","dependencies_parsed_at":"2022-09-18T03:31:33.297Z","dependency_job_id":null,"html_url":"https://github.com/ufologist/onekey-decompile-apk","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ufologist%2Fonekey-decompile-apk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ufologist%2Fonekey-decompile-apk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ufologist%2Fonekey-decompile-apk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ufologist%2Fonekey-decompile-apk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ufologist","download_url":"https://codeload.github.com/ufologist/onekey-decompile-apk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242680,"owners_count":20907134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","apk","decompile"],"created_at":"2024-11-25T22:27:36.566Z","updated_at":"2025-04-04T20:13:46.108Z","avatar_url":"https://github.com/ufologist.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# onekey-decompile-apk\n一步到位反编译apk工具(onekey decompile apk)\n\nv1.0.1 2012-10-24\n\nAutomatically exported from code.google.com/p/onekey-decompile-apk\n\n**Starred by 83 users | DownloadCount 23758 | 2015-8-3**\n![google-code](https://rawgit.com/ufologist/onekey-decompile-apk/master/google-code.png)\n\n![google-code-download](https://rawgit.com/ufologist/onekey-decompile-apk/master/google-code-download.png)\n\n## 功能 ##\n1. 集成apktool/dex2jar/jd-gui\n2. 只需执行一步即可反编译出apk所有文件(资源文件和jar等等)\n3. 打开jd-gui反编译jar文件\n\n## 使用方法 ##\n1. 在[releases - Downloads](https://github.com/ufologist/onekey-decompile-apk/releases)中下载onekey-decompile-apk.zip, 解压缩到类似 `D:\\downloads\\onekey-decompile-apk`\n2. 将apk文件放到`onekey-decompile-apk`目录下\n3. 将apk文件拖拽到`_onekey-decompile-apk.bat`上\n4. 执行完成后\n    * 会在`onekey-decompile-apk`目录下生成和apk同名的目录(放置了apktools反编译出来的东西)\n    * 会在`onekey-decompile-apk`目录下生成和apk同名的jar文件(dex2jar反编译出来的class)\n\n## 运用工具(非常感谢他们) ##\n1. [apktool](http://code.google.com/p/android-apktool/)反编译出apk中的资源文件, 例如AndroidManifest.xml和res\n\n   ```\n   java -jar apktool.jar d -d xxx.apk\n   ```\n2. [dex2jar](http://code.google.com/p/dex2jar/)反编译出apk中的class\n\n   ```\n   // dex2jar is deprecated, use the d2j-dex2jar\n   d2j-dex2jar xxx.apk\n   ```\n3. [jd-ui](http://java.decompiler.free.fr/?q=jdgui)/[jad](http://www.varaneckas.com/jad/)反编译class为java源文件\n\n   \u003e 反编译工具还是jad最强, JD-GUI只是方便反编译/查看整个jar而已, 反编译出来的代码不全,\n   \u003e \n   \u003e 因此需要jd + jad(或者[jadclipse](http://jadclipse.sourceforge.net) eclipse插件使用更方便)配合才完美\n\n## 参考 ##\n* [一个APK反编译利器Apktool](http://blog.sina.com.cn/s/blog_5752764e0100kv34.html)\n* [Android程序反编译的方法](http://www.cnblogs.com/feisky/archive/2010/08/05/1793493.html)\n* [如何反编译android程序](http://doandroid.info/%E5%A6%82%E4%BD%95%E5%8F%8D%E7%BC%96%E8%AF%91android%E7%A8%8B%E5%BA%8F/)\n\n## 更新 ##\n* 2012-10-24: inject\\_classes v1.0 将自己写的class混编(注入)到需要反编译的apk(mix/inject classes2apk) [Changes](https://github.com/ufologist/onekey-decompile-apk/blob/master/CHANGELOG.md#inject_classes-v10)\n* 2012-10-22: onekey-decompile-apk v1.0.1 将apktool降到1.4.1(原来是1.4.3), 只有这个版本能进行SmaliDebugging [Changes](https://github.com/ufologist/onekey-decompile-apk/blob/master/CHANGELOG.md#onekey-decompile-apk-v101)\n* 2012-10-22: 新的一步到位打包apk(签名, 安装)工具(onekey build-sign-install apk). [Changes](https://github.com/ufologist/onekey-decompile-apk/blob/master/CHANGELOG.md#build_sign_install-v10)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fufologist%2Fonekey-decompile-apk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fufologist%2Fonekey-decompile-apk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fufologist%2Fonekey-decompile-apk/lists"}