can't install gomobile

145 views
Skip to first unread message

JM

unread,
Jul 1, 2016, 10:56:58 PM7/1/16
to golang-nuts
windows pro on 64x.  Anyone know what's going on here? Im using the following reference. https://github.com/golang/go/wiki/Mobile

C:\WINDOWS\system32>go get golang.org/x/mobile/cmd/gomobile

C:\WINDOWS\system32>gomobile init
gomobile: rename C:\GoPath\pkg\gomobile\work-399306583\android-ndk-r12\toolchains\llvm\prebuilt\windows-x86_64\bin\clang C:\GoPath\pkg\gomobile\android-ndk-r12\llvm\bin\clang: The system cannot find the file specified.

C:\WINDOWS\system32>

Constantin Konstantinidis

unread,
Jul 2, 2016, 5:10:54 AM7/2/16
to golang-nuts

It seems tha the Android SDK cannot be found. If installed, it should be in your PATH variable.

Elias Naur

unread,
Jul 2, 2016, 8:11:13 AM7/2/16
to golang-nuts
This is my fault, sorry. Please try


then reinstall the gomobile tool and see if that fixes the problem.

 - elias


On Saturday, July 2, 2016 at 4:56:58 AM UTC+2, JM wrote:

JM

unread,
Jul 2, 2016, 2:51:03 PM7/2/16
to golang-nuts
Sorry, im not sure what you mean by "Fix it by copying the entire "bin" directory from the llvm toolchain instead of picking out certain named binaries." Can you give me more info on how i do what you are saying?  The only thing i have done is these 2 commands so far:

Elias Naur

unread,
Jul 3, 2016, 9:47:48 AM7/3/16
to JM, golang-nuts
Hi,

The link I gave you was to a proposed change to Gomobile to fix your problem. If you don't know how to apply it, just wait for it to be approved and submitted. Then, you can simply run the go get and gomobile init commands again.

 - elias

--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/eHUauZwcHrg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

teja.n...@gmail.com

unread,
Jul 4, 2016, 11:08:38 AM7/4/16
to golang-nuts
I am also facing the same problem but I didn't understand the solution given by @Elias Naur please could you elaborate  on the solution so I can get it working.
Reply all
Reply to author
Forward
0 new messages