Skip to content

GangJust/ADBHelper

Repository files navigation

Android可视化ADB工具

中文文档 | English

采用 Rust JNI + Kotlin Multiplatform 分层设计,Rust负责ADB命令,KMP负责UI。

使用MVI设计,结构明确,功能简单。

  • 目前功能:

    • 多设备列表
    • 活动信息
    • 应用管理
    • 文件管理
  • 计划功能:

    • 布局分析
    • 定时任务
    • 简易终端

运行配置

项目使用的自定义GradleTask

  • composeApp:createDistributable

    • 请在composeApp/build/compose/binaries目录下找到编译后的产物文件夹。
  • composeApp:*Release 相关任务 (暂未找到解决方案)

    • 该任务编译编译后运行存在问题,典型问题为:
    • Dispatchers.Main 在Release后无法被找到。

你需要手动解决这些问题。

其他说明

不要依赖于IDEA顶部的RerunStop按钮(特别是Windows),请手动点击ADB Helper右上角的关闭按钮,并重新手动Run/Debug。 否则,你需要在任务管理器中主动杀死adb进程,来解决卡住的问题。

另外,本项目欢迎各位的PR,如果有任何问题,欢迎提出。

补充截图

Screenshot

License

GNU General Public License v3.0

Copyright (C) 2024  Gang

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.