-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/mobile: gobind failed: exit status 2 #33998
Comments
/cc @hyangah |
I hit this issue while trying to build this project: ipfs-shipyard/gomobile-ipfs (from the go version 1.18.2 was being used and there was one go module in dependency chain requiring go 1.17:
I've installed go 1.17.11 and it fixed the issue for me.
|
@WesleyBatista Your issue is not the same. |
@ZekeLu thanks for your comment! I understand my issue is not the same, but I believe the root cause lies in the fact that there was an unexpected outcome during the build (a package/module failed to build) that ultimately caused the In my case the problem was the go version, but exit code 2 could be anything that fails and causes a misuse of shell built-ins, as described here: https://tldp.org/LDP/abs/html/exitcodes.html |
does anybody have any idea how to fix the problem that @unifyproxy mentioned? i tried to generate .aar file but i get the same error
|
What version of Go are you using (
go version
)?What version of Gomobile are you using (
gomobile 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?
nothing (build success)
What did you see instead?
Error
The text was updated successfully, but these errors were encountered: