You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I turned on GO111MODULE and use the go mobile to build the project. But it failed. The message is:
tingdeMacBook-Pro:light-wallet ting$ make android
build/env.sh go run build/ci.go aar --local
go: finding golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e
>>> /usr/local/opt/go/libexec/bin/go get golang.org/x/mobile/cmd/gomobile golang.org/x/mobile/cmd/gobind
go: finding golang.org/x/mobile latest
>>> /Users/ting/work/src/wx-gitlab.xunlei.cn/light-wallet/build/_workspace/src/wx-gitlab.xunlei.cn/light-wallet/build/bin/gomobile bind -ldflags -s -w --target android --javapkg org.ethereum -v wx-gitlab.xunlei.cn/light-wallet/mobile
type-checking package "wx-gitlab.xunlei.cn/light-wallet/mobile" failed (/Users/ting/work/src/wx-gitlab.xunlei.cn/light-wallet/build/_workspace/src/wx-gitlab.xunlei.cn/light-wallet/mobile/accounts.go:35:2: could not import wx-gitlab.xunlei.cn/light-wallet/accounts/keystore (type-checking package "wx-gitlab.xunlei.cn/light-wallet/accounts/keystore" failed (/Users/ting/work/src/wx-gitlab.xunlei.cn/light-wallet/accounts/keystore/watch.go:25:2: could not import github.com/rjeczalik/notify (type-checking package "github.com/rjeczalik/notify" failed (/Users/ting/work/src/wx-gitlab.xunlei.cn/light-wallet/build/_workspace/pkg/mod/github.com/rjeczalik/notify@v0.9.2/event_inotify.go:9:8: could not import golang.org/x/sys/unix (go/build: importGo golang.org/x/sys/unix: exit status 1
go: writing go.sum: open /Users/ting/work/src/wx-gitlab.xunlei.cn/light-wallet/build/_workspace/pkg/mod/github.com/rjeczalik/notify@v0.9.2/go.sum975357160.tmp: permission denied
))))))
/Users/ting/work/src/wx-gitlab.xunlei.cn/light-wallet/build/_workspace/src/wx-gitlab.xunlei.cn/light-wallet/build/bin/gomobile: /Users/ting/work/src/wx-gitlab.xunlei.cn/light-wallet/build/_workspace/src/wx-gitlab.xunlei.cn/light-wallet/build/bin/gobind -lang=go,java -outdir=/var/folders/bp/t2ccpzqs2632vbxd_j4p1mz00000gn/T/gomobile-work-233318859 -javapkg=org.ethereum wx-gitlab.xunlei.cn/light-wallet/mobile failed: exit status 1
util.go:45: exit status 1
exit status 1
make: *** [android] Error 1
What did you expect to see?
The compiled jar package.
What did you see instead?
go: writing go.sum: open /Users/ting/work/src/wx-gitlab.xunlei.cn/light-wallet/build/_workspace/pkg/mod/github.com/rjeczalik/notify@v0.9.2/go.sum975357160.tmp: permission denied
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
The compiled jar package.
What did you see instead?
go: writing go.sum: open /Users/ting/work/src/wx-gitlab.xunlei.cn/light-wallet/build/_workspace/pkg/mod/github.com/rjeczalik/notify@v0.9.2/go.sum975357160.tmp: permission denied
The text was updated successfully, but these errors were encountered: