-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gomobile doesn't support go1.13 #34759
Comments
It looks like you 1.13 installation is somehow messed up. Did this start immediately after upgrading to 1.13 ? Can you run other programs using 1.13 ? |
yes, i run gomobile after upgrading to 1.13, and i can run my other go code using 1.13 without wrong info, only runing gomobile it failed. |
Please try |
thanks, i rebuild the gomobile (and gobind) tool, it works |
Thanks for following up. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yess
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
/Users/fredlee/Documents/develop/go/workspace/src/app.sdk/lightControl
macbookpro:lightControl fredlee$ gomobile bind -o lightControl.aar -target=android app.sdk/lightControl
gomobile: /Users/fredlee/Documents/develop/go/workspace/bin/gobind -lang=go,java -outdir=/var/folders/34/z2z_vp1573g5014m8k7wys100000gn/T/gomobile-work-981232532 app.sdk/lightControl failed: exit status 1
type-checking package "app.sdk/lightControl" failed (/Users/fredlee/Documents/develop/go/workspace/src/app.sdk/lightControl/addr.go:4:2: could not import bytes (type-checking package "bytes" failed (/usr/local/go/src/bytes/buffer.go:12:2: could not import unicode/utf8 (/usr/local/go/src/unicode/utf8/utf8.go:28:8: expected ';', found b00000000 (and 10 more errors)))))
What did you expect to see?
gomobile bind -o lightControl.aar -target=android app.sdk/lightControl
it success
The text was updated successfully, but these errors were encountered: