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: `go get golang.org/x/mobile/...` reports errors #17750

Closed
hyangah opened this issue Nov 2, 2016 · 2 comments
Closed

x/mobile: `go get golang.org/x/mobile/...` reports errors #17750

hyangah opened this issue Nov 2, 2016 · 2 comments
Assignees
Milestone

Comments

@hyangah
Copy link
Contributor

@hyangah hyangah commented Nov 2, 2016

% go get golang.org/x/mobile/...
package golang.org/x/mobile/bind/testpkg/javapkg
imports Java/java/lang/Float: unrecognized import path "Java/java/lang/Float" (import path does not begin with hostname)
package golang.org/x/mobile/bind/testpkg/javapkg
imports Java/java/lang/Integer: unrecognized import path "Java/java/lang/Integer" (import path does not begin with hostname)
package golang.org/x/mobile/bind/testpkg/javapkg
imports Java/java/lang/System: unrecognized import path "Java/java/lang/System" (import path does not begin with hostname)
package golang.org/x/mobile/bind/testpkg/javapkg
imports Java/java/util/Collections: unrecognized import path "Java/java/util/Collections" (import path does not begin with hostname)
package golang.org/x/mobile/bind/testpkg/javapkg
imports Java/java/util/jar/JarFile: unrecognized import path "Java/java/util/jar/JarFile" (import path does not begin with hostname)
package golang.org/x/mobile/bind/testpkg/objcpkg
imports ObjC/Foundation: unrecognized import path "ObjC/Foundation" (import path does not begin with hostname)
package golang.org/x/mobile/bind/testpkg/objcpkg
imports ObjC/Foundation/NSDate: unrecognized import path "ObjC/Foundation/NSDate" (import path does not begin with hostname)
package golang.org/x/mobile/bind/testpkg/objcpkg
imports ObjC/Foundation/NSString: unrecognized import path "ObjC/Foundation/NSString" (import path does not begin with hostname)
package golang.org/x/mobile/bind/testpkg/objcpkg
imports ObjC/QuartzCore/CAMediaTimingFunction: unrecognized import path "ObjC/QuartzCore/CAMediaTimingFunction" (import path does not begin with hostname)
package golang.org/x/mobile/bind/testpkg/objcpkg
imports ObjC/UIKit: unrecognized import path "ObjC/UIKit" (import path does not begin with hostname)

@hyangah hyangah added this to the Unreleased milestone Nov 2, 2016
@mirtchovski

This comment has been minimized.

Copy link
Contributor

@mirtchovski mirtchovski commented Nov 30, 2016

instead of trying to compile everything recursively (and failing the tests, which aren't working even on the builders at the moment), you may want to install only the gomobile binary, which knows how to do the rest:

% go get golang.org/x/mobile/cmd/gomobile
% gomobile init
@gopherbot

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Jan 8, 2017

CL https://golang.org/cl/34956 mentions this issue.

@golang golang locked and limited conversation to collaborators Jan 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.