Files
ts-mobile-go/README.md
T
2026-07-20 19:01:03 +08:00

788 B
Raw Blame History

ts-mobile-go

TeamSpeak Android 原生客户端,使用 Go (teamspeak-go) 作为协议层,Kotlin + Jetpack Compose 构建 UI。

技术栈

  • 协议层: Go + teamspeak-go (零 CGOgomobile bind → .aar)
  • UI 层: Kotlin + Jetpack Compose + Material Design 3
  • 状态管理: ViewModel + StateFlow
  • 持久化: SharedPreferences (替代 localStorage)

快速开始

  1. 安装 Go 1.26+
  2. 安装 gomobile: go install golang.org/x/mobile/cmd/gomobile@latest && gomobile init
  3. 运行构建脚本: build.bat (Windows) 或 ./build.sh (Linux/macOS)
  4. 用 Android Studio 打开 android/ 目录
  5. 连接设备或启动模拟器,运行应用

详细构建说明见 BUILD.md