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

cmd/go: "cannot find module" when GOOS=android #30888

eliasnaur opened this issue Mar 17, 2019 · 1 comment


None yet
3 participants
Copy link

commented Mar 17, 2019


I'm baffled by the x/benchmarks error from the android builder:

go: finding v0.0.0-20190312061237-fead79001313
build cannot find module for path


I can reproduce the error locally:

$ git clone
Cloning into 'benchmarks'...
remote: Total 249 (delta 82), reused 249 (delta 82)
Receiving objects: 100% (249/249), 481.19 KiB | 1.94 MiB/s, done.
Resolving deltas: 100% (82/82), done.
$ cd benchmarks/
$ go test ./...
go: downloading v0.0.0-20190312061237-fead79001313
go: extracting v0.0.0-20190312061237-fead79001313
? [no test files]
? [no test files]
? [no test files]
? [no test files]
? [no test files]
$ GOOS=android go test ./...
build cannot find module for path

But I have no clue why is available for my host (GOOS=linux) but not for GOOS=android.

CC @jayconrod @bcmills .

@gopherbot gopherbot added this to the Unreleased milestone Mar 17, 2019

@jayconrod jayconrod self-assigned this Mar 18, 2019

@jayconrod jayconrod modified the milestones: Unreleased, Go1.13 Mar 18, 2019

@jayconrod jayconrod changed the title x/benchmarks: "cannot find module" when GOOS=android cmd/go: "cannot find module" when GOOS=android Mar 19, 2019


This comment has been minimized.

Copy link

commented Mar 19, 2019

Change mentions this issue: cmd/go: recognize android suffix when constructing build list

@gopherbot gopherbot closed this in f07a99e Mar 28, 2019

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