Skip to content

Commit 4829c56

Browse files
authored
Create README.md
1 parent 491fcaf commit 4829c56

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Go-Mirai-Client-Android
2+
Go-Mirai-Client的安卓版
3+
4+
## 环境
5+
- JDK 1.8
6+
- Golang 1.17
7+
- ANDROID_SDK
8+
- gomobile
9+
10+
## 下载项目
11+
1. 下载 [Go-Mirai-Client](https://github.com/ProtobufBot/Go-Mirai-Client) 源代码(后端服务)
12+
2. 下载 [pbbot-react-ui](https://github.com/ProtobufBot/pbbot-react-ui/releases) Release,解压后放在 `Go-Mirai-Client/pkg/static/static`(前端UI)
13+
3. 下载本项目(安卓套壳)
14+
15+
## 编译
16+
1.`Go-Mirai-Client` 目录下执行 `gomobile bind -target=android ./pkg/gmc`,得到 gmc.aar 和 gmc-sources.jar
17+
2. 复制 gmc.aar 和 gmc-sources.jar 到本项目 app/libs 目录下
18+
3. 编译安卓
19+

0 commit comments

Comments
 (0)