{"id":18369249,"url":"https://github.com/juude/droidscripts","last_synced_at":"2025-04-06T17:32:03.602Z","repository":{"id":16511352,"uuid":"19264351","full_name":"Juude/droidScripts","owner":"Juude","description":"scripts for android development(Android开发用脚本)","archived":false,"fork":false,"pushed_at":"2017-05-21T04:55:16.000Z","size":1103,"stargazers_count":114,"open_issues_count":0,"forks_count":36,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-22T04:03:34.757Z","etag":null,"topics":["android"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Juude.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}},"created_at":"2014-04-29T05:02:16.000Z","updated_at":"2025-02-22T04:34:59.000Z","dependencies_parsed_at":"2022-08-25T15:40:42.765Z","dependency_job_id":null,"html_url":"https://github.com/Juude/droidScripts","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/Juude%2FdroidScripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juude%2FdroidScripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juude%2FdroidScripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juude%2FdroidScripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Juude","download_url":"https://codeload.github.com/Juude/droidScripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247522475,"owners_count":20952558,"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"],"created_at":"2024-11-05T23:28:52.785Z","updated_at":"2025-04-06T17:32:02.116Z","avatar_url":"https://github.com/Juude.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Android开发脚本\n=======\n\n#### 1. app.py\n**实现功能**\n\n1. `app.py clear [packagename]` :清空app数据\n2. `app.py details [packagename]` 跳转到app详情页面\n3. `app.py dump [packagename]` 输出dump信息\n4. `app.py list`[key] 查找安装的app\n5. `app.py uninstall [packagename]`: 卸载app\n\n#### 2.mock.py\n一个调试工具包,可以模拟程序运行的信息,或者在运行时候改变变量值，方便调试。\n使用前必须安装客户端,详细情况可以看这里的[文档](https://raw.githubusercontent.com/Juude/droidMock/master/README.md)\n\n#### 3.pidcat.py\n可以通过进程名字获取log 代码源地址：https://github.com/JakeWharton/pidcat/\n\n#### 4.droid.py\n主要是对`adb shell input keyevent`按键的封装\n例如`droid.py input KEYCODE_POWER`可以模拟电源键\n或者快捷点的访问方式`droid.py screen`也可以。对于一直敲代码不想离开键盘的同学还是很有用的。\n\n#### 5.window\n获取正在运行的window list\n![](art/windows.png)\n\n#### 6.mem.py\n获取指定应用占用的内存\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuude%2Fdroidscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuude%2Fdroidscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuude%2Fdroidscripts/lists"}