U
U
uRoot2020-09-30 16:25:50
go
uRoot, 2020-09-30 16:25:50

Go for Android?

How suitable is Go for Android software development? How often do you have to pull JAVA in the process? Is there an infrastructure for comfortable development of full-fledged applications?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
WinPooh32, 2020-09-30
@uroot

Everything compiles out of the box:
GOOS=android GOARCH=arm GOARM=7 go build
And you don't need any Java at all, as well as a graphical shell :)
It's better to forget about all the newfangled guis in Go - only the console, only hardcore.
If you really want to do as much as possible in Go, then the solution can be a library on it, and the front on native technologies: Java / Kotlin or Dart.
There is also an option in the form of binding to Qt , logic can be written in Go, graphics in QML. Only now you have to take the entire Qt set with you, and there are restrictions in licensing the product.

A
Alexander Pikeev, 2020-09-30
@Baryon

https://github.com/golang/go/wiki/Mobile
https://github.com/xlab/android-go
Simple example: https://github.com/xlab/android-go/tree/master/exa ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question