BuildGoForAndroid

Introduction: This project demonstrates how to compile the go source code into a dynamic library for Android and use it in Android.
More: Author   ReportBugs   
Tags:

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

Apps
About Me
GitHub: Trinea
Facebook: Dev Tools