Skip to content
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: How to build the go mobile example #9302

Closed
ragnraok opened this issue Dec 13, 2014 · 2 comments

Comments

Projects
None yet
3 participants
@ragnraok
Copy link

commented Dec 13, 2014

my go version is go version go1.4 darwin/amd64
I clone the go/mobile repo and build it using docker:

go get -d golang.org/x/mobile/...
docker build -t mobile $GOPATH/src/golang.org/x/mobile

and I want to build the example/basic using this command as you show in README:

docker run -v $GOPATH/src:/src mobile /bin/bash -c 'cd example/basic && ./make.bash'

and it just output

/bin/bash: line 0: cd: example/basic: No such file or directory

but at this time I'm under golang.org/x/mobile directly.

and if I execute make.bash in the example/basic:

./make.bash
go build runtime: android/arm must be bootstrapped using make.bash

so how should I build this example?

@bradfitz

This comment has been minimized.

Copy link
Member

commented Dec 13, 2014

Please bring this to golang-nuts@ where @crawshaw and others can help. I'm closing this here, though, because this is a question instead of a bug report.

@bradfitz bradfitz closed this Dec 13, 2014

@ragnraok

This comment has been minimized.

Copy link
Author

commented Dec 13, 2014

thx, I will post on golang-nuts

@mikioh mikioh changed the title How to build the go mobile example x/mobile: How to build the go mobile example Aug 5, 2015

@golang golang locked and limited conversation to collaborators Aug 5, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.