C-bindings for the Go Cwtch Library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
452 B

*sometimes: rm -rf $GOPATH/pkg*
*sometimes: rm -rf /tmp/gomobile*
rm -rf vendor
go clean --modcache
go mod download
go get -u golang.org/x/mobile
go get -u golang.org/x/mobile/bind
gomobile clean
gomobile init
make android
# errors
# runtime/cgo
gcc_android.c:6:10: fatal error: android/log.h: No such file or directory
#include <android/log.h>
compilation terminated.```
*solution:* run `gomobile init`