Go on Android and iOS devices

Clone this repo:


  1. bceb7ef app: fix cgo exported function signature by Elias Naur · 8 days ago master
  2. 5078169 app: add RunOnJVM to allow Cgo access to the Android JVM and context by Elias Naur · 9 days ago
  3. 371a4e8 bind: use 0 instead of nil for the jclass zero value by Elias Naur · 4 weeks ago
  4. c7f1239 asset: hoist global variable to Go and make C function static by Elias Naur · 4 weeks ago
  5. 56e3592 internal/mobileinit,app: declare C symbols static by Elias Naur · 5 weeks ago

Go support for Mobile devices

The Go mobile repository holds packages and build tools for using Go on mobile platforms.

Package documentation as a starting point:

Caution image

The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.

This is early work and installing the build system requires Go 1.5. Follow the instructions on golang.org/wiki/Mobile to install the gomobile command, build the basic and the bind example apps.

Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.