- Latest stable Android Studio
- Latest Gradle plugin
- Latest NDK
Get the client token
To start working with the Banuba SDK Demo project for Android, you need to have the client token. To receive the trial client token please fill in our form on banuba.com website, or contact us via email@example.com.
Get the Banuba SDK archive
With the client token, you will also receive the Banuba SDK archive for Android which contains:
- Banuba Effect Player (compiled Android library project with .aar extension),
- Android project folder (src) which contains two demo apps, located in
- Effect examples located under
Build the Banuba SDK Demo app and Beautification example app
Before opening and building the Android Demo app project, place your client token inside appropriate file in the following location(s):
Banuba SDK Demo app:
Beautification example app:
If these files don't exist, please create them in locations mentioned above with the following content:
<resources> <string name="banuba_client_token"> YOUR CLIENT TOKEN HERE </string> </resources>
- Import the Android project under
srcfolder in Android Studio.
banuba_effect_player-release.aar: "File → New → New Module... → Import .JAR/.AAR Package"
api project(":banuba_effect_player")with the name of module you've imported within step 2. By default it's
Resync Gradle project.
Select Build Variant from the left side menu in Android Studio.
Debugbuild variant allows to properly debug and profile app during its execution.
Releasebuild variant allows to test release variant of application (faster performance).
- Select the build target in the top:
apptarget - to build the default Banuba SDK Demo app used to demonstrate major SDK features
beautificationtarget - to build the face beautification example app with neural networks coloring feature.