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
Closed

x/mobile: How to build the go mobile example #9302

ragnraok opened this issue Dec 13, 2014 · 2 comments

Comments

@ragnraok
Copy link

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
Copy link
Contributor

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.

@ragnraok
Copy link
Author

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.
Projects
None yet
Development

No branches or pull requests

3 participants