Installing the Demo Via Android Studio

To start looking at the KnomiMobile-SampleApp-Android, we recommend using Android Studio Electric Eel | 2022.1.1 Patch 2 or higher to compile and run the demo on your Android device. To begin using the demo:

  1. Start Android Studio.

  2. Open an Existing Project. Navigate to the Android directory in the installer and select it.

  3. Select the Project Structure and then Project to set the Android Gradle Plugin Version to 7.1.0 and Gradle Version to 7.2.

  4. Set the Project Structure to use JAVA 11

    1. Select File -> Project Structure -> SDK Location

    2. Select Gradle Setting where is says “JDK location has moved to Gradle Settings

    3. Gradle JDK drop down select the Embedded JDK option

  5. Set Source and Target Compatibility

    1. Select File -> Project Structure -> Modules

    2. Source Compatibility -> select Java Version 11

    3. Target Compatibility -> select Java Version 11

  6. For this sample application place the Regula license file (regula.license) in the raw directroy with resources (app/src/main/res/raw)

  7. Select your connected device in Android Studio and press Run.

Please note:

  • The Android emulator is not available as an option for KnomiMobile-SampleApp-Android.

  • A connected device must be used for debugging and testing.

  • A connected device must already be setup for testing.

Please see the manual for getting started with the API and understanding the demo code.