Adzzi
(Adriana S)
October 22, 2017, 11:49am
1
I am trying to make an app with go but I don’t know how to install Go Mobile. I have found websites explaining this but I still don’t really understand, mainly where do I put the
“go get golang.org/x/mobile/cmd/gomobile
gomobile init”
commands?
I tried putting it in the terminal and my text editor, but I get errors. I don’t see where else I can type it - Android Studio? I don’t think so…
Please help,
Kind regards.
luk4z7
(Lucas Alves)
October 22, 2017, 5:20pm
2
Try this link, has more examples.
Adzzi
(Adriana S)
October 23, 2017, 11:49am
4
I have already read this page. The answer I am looking for is where do I put the commands? The terminal? My text editor? Or is it somewhere else?
Adzzi
(Adriana S)
October 23, 2017, 11:50am
5
Thank you for the command, but where am I supposed to write it? The terminal? My text editor? Or somewhere else?
NobbZ
(Norbert Melzer)
October 23, 2017, 11:56am
6
In the terminal. Thats what usually is implied by prefixing the lines with $
. This is meant as a synonym for your shells prompt. Sometimes you’ll see #
instead, which usually means “run as root”.
luk4z7
(Lucas Alves)
October 23, 2017, 11:57am
7
Yes, on the terminal, the documentation work with unix system
NobbZ
(Norbert Melzer)
October 23, 2017, 11:59am
8
As said before, you have to put those on the terminal.
But its easier to help, if you tell us what errors you have got there.
luk4z7
(Lucas Alves)
October 23, 2017, 1:23pm
11
I know, but the documentation focus on the unix system. is you are correct about the OS installations.
Adzzi
(Adriana S)
October 23, 2017, 2:57pm
12
The error I get is
-bash: $: command not found
NobbZ
(Norbert Melzer)
October 23, 2017, 3:02pm
13
Because $ represents your prompt. It’s not part of the command. In your first post you didn’t even copy it, therefore I assumed so far you had only tried go get...
which in fact were correct.
luk4z7
(Lucas Alves)
October 23, 2017, 8:16pm
15
I was talking about the documentation about the binaries Go, “https://github.com/golang/go/wiki/Mobile ”, not about Android Studio.
Adzzi
(Adriana S)
October 25, 2017, 10:19am
16
Ok, thank you, I have solved the problem.
system
(system)
Closed
January 23, 2018, 10:19am
17
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.