android.md 580 B


outline: deep

Android Application

We can use the android.native_app rule to build Android native applications.

Native App

Build and Run

$ xmake f -p android --ndk=/path/to/ndk
$ xmake
$ xmake install
$ xmake run

Custom Glue

If you want to use custom glue code (or standard android_native_app_glue), you can do so by creating a project with the appropriate AndroidManifest.xml and native code.