15 lines
393 B
Markdown
15 lines
393 B
Markdown
# MEOW lib
|
|
|
|
## Go Mobile setup
|
|
go install golang.org/x/mobile/cmd/gobind@latest
|
|
go install golang.org/x/mobile/cmd/gomobile@latest
|
|
go get golang.org/x/mobile/bind
|
|
Replace "Get" by "get" in messages.pb.go
|
|
|
|
gomobile bind -target android -androidapi=19
|
|
|
|
Look at the exported API and cry...
|
|
|
|
## Other option
|
|
GOOS=android GOARCH=arm64 go build -buildmode=c-archive -o libmeow.a
|