Install the latest version of Android Studio.
Using Android Studio open binding/android as an Android project and build it. The build creates an
Android Archive (AAR) at
binding/android/porcupine/build/outputs/aar
that can be used as a dependency of your Android app module.
Using Android Studio navigate to androidTest,
right click, and select Run Tests in ai.picovoice.porcupine
from drop down menu.
Porcupine provides a binding for android using JNI. For an example usage please refer to Android demo application.