{"id":17239195,"url":"https://github.com/heruoxin/robfuscate","last_synced_at":"2025-04-14T02:31:42.098Z","repository":{"id":77058111,"uuid":"177535794","full_name":"heruoxin/Robfuscate","owner":"heruoxin","description":"Obfuscate the int index of R.id/R.string/R.layout… in the classes.dex of Android project","archived":false,"fork":false,"pushed_at":"2019-09-18T15:58:15.000Z","size":429,"stargazers_count":62,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T16:50:09.409Z","etag":null,"topics":["android","gradle-plugin"],"latest_commit_sha":null,"homepage":"","language":"Groovy","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/heruoxin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-03-25T07:27:36.000Z","updated_at":"2025-01-06T19:33:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf56ec5a-9f47-4fb5-a1f6-837cf7913e87","html_url":"https://github.com/heruoxin/Robfuscate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heruoxin%2FRobfuscate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heruoxin%2FRobfuscate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heruoxin%2FRobfuscate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heruoxin%2FRobfuscate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heruoxin","download_url":"https://codeload.github.com/heruoxin/Robfuscate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248810883,"owners_count":21165195,"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","gradle-plugin"],"created_at":"2024-10-15T05:48:00.618Z","updated_at":"2025-04-14T02:31:41.424Z","avatar_url":"https://github.com/heruoxin.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Robfuscate\n\n\nObfuscate the int index of R.id/R.string/R.layout… in the classes.dex of Android project.\n\n混淆 Android 项目中 R.id/R.string/R.layout… 等在代码中的 int 索引，可以略微提升破解难度。\n\n\n#### Before\n\n![img](screenshots/before.png)\n\n### After\n\n![img](screenshots/after.png)\n\n### Limitation\n\nIt only works for R in the sub modules. For app level module, R.id will be replaced to static int value before Robfuscate so it will not work.\n\n\n## Usage\n\n\n1. Add the following into your project level `build.gradle`:\n\n```groovy\n  repositories {\n        //...\n        maven { url \"https://jitpack.io\" }\n    }\n    dependencies {\n        //...\n        classpath 'com.github.heruoxin:Robfuscate:master'\n    }\n```\n\n2. Modify your app level `build.gradle`:\n\n```groovy\n\napply plugin: 'com.android.application'\n// NOTICE: Robfuscate must be added AFTER android plugin.\napply plugin: 'com.catchingnow.robfuscate'\n```\n\nDone.\n\n\n## Acknowledgement\n\n\n\u003chttps://github.com/brevent/genuine\u003e\n\n\u003chttps://github.com/MichaelRocks/paranoid\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheruoxin%2Frobfuscate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheruoxin%2Frobfuscate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheruoxin%2Frobfuscate/lists"}