Skip to content

This project demonstrates how to compile the go source code into a dynamic library for Android and use it in Android.

Notifications You must be signed in to change notification settings

CaiJingLong/BuildGoForAndroid

Repository files navigation

Build go library in android

Use the example

  1. build go source to dynamic library

    cd go
    ./build_android_on_mac.sh # You must edit the shell, and set ANDROID_NDK_HOME to your ndk. The project use ndk version is 21.0.6113669, I just test macOS.
  2. Run the app in Android Studio

About

This project demonstrates how to compile the go source code into a dynamic library for Android and use it in Android.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published