You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error is:
can't load package: package golang.org/x/mobile/example/basic: no buildable Go source files in c:\tmp\devel\negentropia\webserv\src\golang.org\x\mobile\example\basic
System is go1.5 windows/amd64
Context is:
set DEVEL=c:\tmp\devel
set GOPATH=%DEVEL%\negentropia\webserv
go get golang.org/x/mobile/cmd/gomobile
set PATH=c:\tmp\devel\negentropia\webserv\bin;%PATH%
gomobile init
Output is:
C:\Users\esmarques>go get -d golang.org/x/mobile/example/basic
can't load package: package golang.org/x/mobile/example/basic: no buildable Go source files in c:\tmp\devel\negentropia\webserv\src\golang.org\x\mobile\example\basic
C:\Users\esmarques>dir c:\tmp\devel\negentropia\webserv\src\golang.org\x\mobile\example\basic
Volume in drive C is Windows
Volume Serial Number is 5406-D6F9
Directory of c:\tmp\devel\negentropia\webserv\src\golang.org\x\mobile\example\basic
You can use go get to fetch the x/mobile, but not build for windows (yet). You should be able to use the gomobile tool to build an .apk for an android device.
Windows support is #9306, so closing this as a duplicate.
Trying instructions for gomobile from: https://github.com/golang/go/wiki/Mobile
This command is panicking: go get -d golang.org/x/mobile/example/basic
Error is:
can't load package: package golang.org/x/mobile/example/basic: no buildable Go source files in c:\tmp\devel\negentropia\webserv\src\golang.org\x\mobile\example\basic
System is go1.5 windows/amd64
Context is:
set DEVEL=c:\tmp\devel
set GOPATH=%DEVEL%\negentropia\webserv
go get golang.org/x/mobile/cmd/gomobile
set PATH=c:\tmp\devel\negentropia\webserv\bin;%PATH%
gomobile init
Output is:
C:\Users\esmarques>go get -d golang.org/x/mobile/example/basic
can't load package: package golang.org/x/mobile/example/basic: no buildable Go source files in c:\tmp\devel\negentropia\webserv\src\golang.org\x\mobile\example\basic
C:\Users\esmarques>dir c:\tmp\devel\negentropia\webserv\src\golang.org\x\mobile\example\basic
Volume in drive C is Windows
Volume Serial Number is 5406-D6F9
Directory of c:\tmp\devel\negentropia\webserv\src\golang.org\x\mobile\example\basic
21/08/2015 12:03
.21/08/2015 12:03 ..
21/08/2015 12:03 4.050 main.go
1 File(s) 4.050 bytes
2 Dir(s) 358.810.517.504 bytes free
C:\Users\esmarques>
C:\Users\esmarques>go version
go version go1.5 windows/amd64
C:\Users\esmarques>
The text was updated successfully, but these errors were encountered: