-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. 编译安卓 | ||
|