Files
kotlin-fork/samples/androidNativeActivity/README.md
T
2017-09-05 18:51:51 +03:00

577 B

Android Native Activity

This example shows how to build an Android Native Activity.

The example will render a textured dodecahedron using OpenGL ES library. It can be rotated with fingers. Please make sure that Android SDK version 25 is installed, using Android SDK manager.

To build use ANDROID_HOME=<your path to android sdk> ../gradlew buildApk.

Run $ANDROID_HOME/sdk/platform-tools/adb install -e build/outputs/apk/androidNativeActivity-arm-debug.apk to deploy the apk on the Android device or emulator (note that only ARM-based devices are currently supported).