Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lz1998 committed Dec 18, 2021
1 parent 491fcaf commit 4829c56
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Go-Mirai-Client-Android
Go-Mirai-Client的安卓版

## 环境
- JDK 1.8
- Golang 1.17
- ANDROID_SDK
- gomobile

## 下载项目
1. 下载 [Go-Mirai-Client](https://github.com/ProtobufBot/Go-Mirai-Client) 源代码(后端服务)
2. 下载 [pbbot-react-ui](https://github.com/ProtobufBot/pbbot-react-ui/releases) Release,解压后放在 `Go-Mirai-Client/pkg/static/static`(前端UI)
3. 下载本项目(安卓套壳)

## 编译
1.`Go-Mirai-Client` 目录下执行 `gomobile bind -target=android ./pkg/gmc`,得到 gmc.aar 和 gmc-sources.jar
2. 复制 gmc.aar 和 gmc-sources.jar 到本项目 app/libs 目录下
3. 编译安卓

0 comments on commit 4829c56

Please sign in to comment.