1
0
Fork 0
golang-golang-x-mobile/example/bind/android
Daniel Baumann 20149b7f3a
Adding upstream version 0.0~git20250520.a1d9079+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-25 10:58:38 +02:00
..
app Adding upstream version 0.0~git20250520.a1d9079+dfsg. 2025-05-25 10:58:38 +02:00
build.gradle Adding upstream version 0.0~git20250520.a1d9079+dfsg. 2025-05-25 10:58:38 +02:00
README Adding upstream version 0.0~git20250520.a1d9079+dfsg. 2025-05-25 10:58:38 +02:00
settings.gradle Adding upstream version 0.0~git20250520.a1d9079+dfsg. 2025-05-25 10:58:38 +02:00

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.