commit | ab9391cb88a2a1daf1382e1ad7e355ce6207c891 | [log] [tgz] |
---|---|---|
author | Elias Naur <elias.naur@gmail.com> | Fri Jan 27 19:08:31 2017 +0100 |
committer | Elias Naur <elias.naur@gmail.com> | Tue Jan 31 20:25:05 2017 +0000 |
tree | b66887227c82bbd9071a81c6a866bee718dfa555 | |
parent | 959f80f9a97ee5720daff11fd69ce7eeff169c56 [diff] |
bind: handle ClassNotFoundExceptions on older Androids If a wrapped Java class is missing at runtime, for example because the app is running on an older Android version, the resulting class not found exception would cause the app to crash. Fix it by ignoring missing classes, allowing the app to avoid using them according to a runtime version check. Change-Id: I9138c4e2a905b180959306ecbb997695236ab273 Reviewed-on: https://go-review.googlesource.com/35853 Reviewed-by: David Crawshaw <crawshaw@golang.org>
The Go mobile repository holds packages and build tools for using Go on mobile platforms.
Package documentation as a starting point:
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.