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: gomobile init fails on windows #12357

Closed
oliverjanik opened this issue Aug 27, 2015 · 2 comments
Closed

x/mobile: gomobile init fails on windows #12357

oliverjanik opened this issue Aug 27, 2015 · 2 comments

Comments

@oliverjanik
Copy link

Fresh inistall of Go 1.5

C:\Users\Oliver>go get golang.org/x/mobile/cmd/gomobile

C:\Users\Oliver>gomobile init
gomobile: GetFileAttributesEx C:\Go\.git: The system cannot find the file specified.

and it continues:

C:\Users\Oliver>mkdir C:\Go\.git

C:\Users\Oliver>gomobile init
gomobile: cannot get cmd/dist version: exec: "C:\\Users\\Oliver\\dev\\go\\pkg\\gomobile\\work-575884755\\go\\pkg\\tool\\windows_amd64\\dist.exe": file does not exist ()
@crawshaw
Copy link
Member

I believe you have a very old version of the x/mobile repository. Please try go get -u golang.org/x/mobile/cmd/gomobile.

@crawshaw crawshaw changed the title Gomobile init fails on windows x/mobile: gomobile init fails on windows Aug 27, 2015
@oliverjanik
Copy link
Author

Good call! I should've thought of that.

Closing the issue.

@golang golang locked and limited conversation to collaborators Sep 4, 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