Skip to main content
Skip table of contents

Integrating Vsdk Libraries - Android

To run your exported project on Android, you need to include the appropriate VSDK libraries.

Download

  1. Open the Vivoka Console and navigate to your Project Settings.

  2. Go to the Downloads section.

  3. In the search bar:

    • Set Platform to Android

    • Set Resource Type to Libraries

  4. Download the latest version of the libraries you need:

    • You will always need the core VSDK library:
      vsdk-<version>-android.zip

Depending on the technologies and providers used in your project (e.g., ASR, TTS), download additional dependency packages such as:
vsdk-csdk-asr-<version>-android-deps-vsdk-<version>.zip

Technology

Sdk

File

Asr

csdk

vsdk-csdk-asr-<version>-android-deps-vsdk-<version>.zip

Tts

csdk

vsdk-csdk-tts-<version>-android-deps-vsdk-<version>.zip

Speech Enhancement

s2c

vsdk-s2c-<version>-android-deps-vsdk-<version>.zip

Voice biometrics

idvoice

vsdk-idvoice-<version>-android-deps-vsdk-<version>.zip

tssv

vsdk-tssv-<version>-android-deps-vsdk-<version>.zip

NLU

vnlu

vsdk-vnlu-<version>-android-deps-vsdk-<version>.zip

If you want to use multiple technologies you must use the same vsdk version.

Each ZIP file contains:

  • .aar files (Android libraries)

  • Javadoc files (optional for IDE documentation)

Configure Gradle

Extract all .aar files into /app/libs/ folder in your Android project.

To include the .aar files in your Android build:

  1. Open your app-level Gradle file /app/build.gradle

  2. Inside the dependencies {} block, add the following line:

CODE
implementation fileTree(include: ['*.aar'], dir: 'libs', exclude: []) 

For more details, you can check our samples available on console.

Important Notes
Make sure that .so files are not removed from your final apk if your are using an optimizer like pro-guard. A simple solution will be to add doNotStrip inside android.buildTypes.packagingOptions:

CODE
android {
  // ...

  buildTypes {
    release {
      packagingOptions { doNotStrip '**/*.so' }
    }
  }
}

Technical Summary

The Vsdk libraries are compiled and built with the following technical specifications:

Component

Version / Target

Java Version

Compiled with Java 21, targeting Java 17

Gradle Wrapper

8.9

Android Gradle Plugin

com.android.tools.build:gradle:8.7.3

compileSdk

35

targetSdk

35

minSdk

23

These specifications ensure compatibility with modern Android environments while maintaining support for devices running Android 6.0 (API level 23) and above.
When integrating the Vsdk libraries, make sure your project’s build configuration aligns with these versions to prevent compilation or runtime compatibility issues.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.