Go on Android and iOS devices

Clone this repo:

Branches

  1. 3e0bab5 cmd/gomobile: fall back to $ANDROID_NDK_HOME for the NDK path by Daniel Lublin · 4 days ago master
  2. 28c689b bind: annotate all remaining ObjC types for nullability by Juan Pablo Civile · 6 days ago
  3. 167ebed cmd/gomobile: require NDK r19c and delete workaround for NDK r19b by Elias Naur · 4 weeks ago
  4. 9487ef5 cmd/gomobile: enable bitcode by Elias Naur · 4 weeks ago
  5. 6bd1229 bind,bind/testdata: skip conflicting Java constructors 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.