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/cmd/gomobile: init fails #11690

Closed
mfzl opened this issue Jul 13, 2015 · 2 comments
Closed

x/mobile/cmd/gomobile: init fails #11690

mfzl opened this issue Jul 13, 2015 · 2 comments

Comments

@mfzl
Copy link

mfzl commented Jul 13, 2015

gomobile init fails when trying to rename a linker which doesn't exist.

gomobile: rename /home/xxx/.go/pkg/gomobile/work-187000458/go/pkg/tool/linux_amd64/5l /home/xxx/.go/pkg/gomobile/android-ndk-r10d/arm/bin/5l: no such file or directory

Version:

➜  ~  go version
go version devel +783297a Sun Jul 12 04:42:40 2015 +0000 linux/amd64
➜  ~  uname -a
Linux xxx 4.0.7-2-ARCH #1 SMP PREEMPT Tue Jun 30 07:50:21 UTC 2015 x86_64 GNU/Linux
➜  ~ cd $GOROOT_BOOTSTRAP
➜  go1.4 git:(886b02d) ✗ ./bin/go version
go version go1.4.1 linux/amd64
@mfzl mfzl changed the title gomobile init fails x/mobile/cmd/gomobile: init fails Jul 13, 2015
@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Jul 13, 2015
@crawshaw
Copy link
Member

This looks like an old version of gomobile. Could you please run
go get -u golang.org/x/mobile/cmd/gomobile

@mfzl
Copy link
Author

mfzl commented Jul 14, 2015

@crawshaw is absolutely right. I had gomobile up to date, but PATH was incorrectly set and it was executing an old binary.

Thank you and sorry for wasting your time on a non issue.

@mfzl mfzl closed this as completed Jul 14, 2015
@golang golang locked and limited conversation to collaborators Jul 13, 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

4 participants