mirror of
https://github.com/netbirdio/gomobile-tvos-fork.git
synced 2026-05-22 18:43:29 -07:00
And replace the plugin with instructions for rebuilding the .aar files for the bind and ivy examples. While here, fix a compile error in the Ivy example caused by gomobile no longer prepending org.golang. to its generated Java packages by default. Fixes golang/go#25314 Fixes golang/go#28098 Fixes golang/go#25184 Change-Id: Iaccdd50850a185414ebcf21427cfd7f625c6a298 Reviewed-on: https://go-review.googlesource.com/c/141057 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
12 lines
300 B
Plaintext
12 lines
300 B
Plaintext
Go bind android app example
|
|
|
|
Run
|
|
|
|
$ gomobile bind -o app/hello.aar golang.org/x/mobile/example/bind/hello
|
|
|
|
and import this project in Android Studio. If you prefer the command
|
|
line, use gradle to build directly.
|
|
|
|
Note that you need to run gomobile bind again every time you make a
|
|
change to Go code.
|