SDK Installation

The SDK can be installed by using Gradle.

Gradle Installation

To integrate your mobile application using Gradle:

1. Add the VWO Android SDK dependency to your build.gradle file.

repositories {

dependencies {
    implementation 'com.vwo:mobile:2.8.2@aar'
    implementation ('') {
        // excluding org.json which is provided by Android
        exclude group: 'org.json', module: 'json'

    // Skip this if you are already including support library in your app.
    implementation ''

2. Update your project AndroidManifest.xml file to add the INTERNET and ACCESS_NETWORK_STATE permissions.

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

ProGuard Configuration to work with VWO

If you are using Proguard for building Android projects, it may cause an error while compiling the build. To avoid such errors, you can add the following code snippet to the file:

# Preserve the line number information for debugging stack traces.
-keepattributes SourceFile,LineNumberTable

# Hide the original source file name.
-renamesourcefileattribute SourceFile

# Support libraries
-keep class

# VWO module
-keep public class * extends

-keepclassmembers class * extends{
public <init>(android.os.Parcel);

-dontwarn io.socket.**

Source Code

The VWO Android SDK code is available on GitHub: