{"id":19074983,"url":"https://github.com/iqiyi/dexsplitter","last_synced_at":"2025-09-11T09:36:33.064Z","repository":{"id":86565830,"uuid":"139092990","full_name":"iqiyi/dexSplitter","owner":"iqiyi","description":"Analyze contribution rate of each module to the apk size","archived":false,"fork":false,"pushed_at":"2018-07-08T07:58:40.000Z","size":3365,"stargazers_count":200,"open_issues_count":1,"forks_count":25,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-15T03:54:10.292Z","etag":null,"topics":["aapt","android","apk-size","dex-files"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iqiyi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-06-29T02:49:21.000Z","updated_at":"2025-04-07T08:53:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"0eb54225-d789-488a-8518-ed6bbced64b7","html_url":"https://github.com/iqiyi/dexSplitter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iqiyi/dexSplitter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iqiyi%2FdexSplitter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iqiyi%2FdexSplitter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iqiyi%2FdexSplitter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iqiyi%2FdexSplitter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iqiyi","download_url":"https://codeload.github.com/iqiyi/dexSplitter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iqiyi%2FdexSplitter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274609465,"owners_count":25316621,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aapt","android","apk-size","dex-files"],"created_at":"2024-11-09T01:52:57.885Z","updated_at":"2025-09-11T09:36:33.036Z","avatar_url":"https://github.com/iqiyi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DexSplitter Solution\nAs we all know, Google has provided aapt plugin for parsing apk, we can get a list of apk files by using 'aapt l -v '.\nWe can divide each res file(assets file) into the module project which it belongs to. \nBut source code of the project can not be divided directly because it will be shrinked optimized and obfuscated.\nDexSplitter can help you to divide source code.\n\n[中文文档](/README_CHINESE.md)\n\n\n# Scenarios\n+\tAnalyze contribution rate of each module to the apk size \n+ \tDiff the size of each module in the apk for every sprint\n\t\n\n# Apk Split Result\n\n\n\u003e ####  Android Origin Build Release.apk\n\u003e ![SplitDexApk](res/apk_origin_parse.png)\n\u003e ####  DexSplitter Build Release.apk\n\u003e ![SplitDexApk](res/dex_splitter_with_name.png)\n\u003e #### splitter_result.txt\n\u003e ![SplitDexApk](res/parse_result.png )\n\n\u003e ps:more details:extra/hack_description.txt extra/hook_details.txt \n\n# Demo Introduction\n+\t   The most important purpose of dexSplitter is to build apk which has special dex files\n+\t   You can use extra/dx.jar directly \n+\t   Host app(lib:gson), library module moduleone(lib:GreenDAO), library module moduletwo(lib:universalimageloader)\n+\t   subdexeslist.txt is used for splitting dex, TestClassForMainDex.class is just a test file\n+\t   Third libs will not be obfuscated\n+\t   Android Support library is marked as android_sys\n+\t   subdexeslist.txt should not contain duplicated class files\n\n\n# Schematic Diagram  \n ![SplitDexApk](res/dex_hack_english.png)\n\n\n# Implementation\n\n+\t Divide the dex files with class files\n+    Build apk which has special dex files\n+\t Python files for collecting class files \n+\t Obfuscated class list for release version\n\n\n# Future\n \n+\t Signed apk \n+\t Generate tables about the proportion of module projects\n+\t Parse changes of dex files by comparing different apk versions\n+\t Divide the dex files by author, module etc. \n\n\n# License\n+ Copyright (c) 2018-present, iQIYI, Inc. All rights reserved.\nMost source code in dexSplitter are MIT licensed. Some other source code have Apache licenses.\nPlease refer to the LICENSE file for detailed information.\n\n\n\t \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiqiyi%2Fdexsplitter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiqiyi%2Fdexsplitter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiqiyi%2Fdexsplitter/lists"}