Add the Hurree SDK to Your Project

This section outlines how to add the Hurree SDK into your app project.

This plugin is available for iOS and Android platforms only.

To add the Hurree SDK to your project

  1. From Android Studio, open your project.
  2. From the Gradle Scripts folder, locate your build.gradle file.
  3. Just after the testCompile line, reference the current version of Hurree: com.hurree:android-sdk:1.1.3 SDK Version
    dependencies {
        compile fileTree(include: ['*.jar'], dir: 'libs')
        testCompile 'junit:junit:4.12'
        compile 'com.hurree:android-sdk:1.1.3'
        compile ''
        compile ''
        your other dependencies will go here
  4. Ensure the bottom of build.gradle is configured as follows:
    apply plugin: ''
    buildscript {
        repositories {
        dependencies {
            classpath '​2.​14.1'//note this line may vary //​ according to gradle version​ (put your gradle version here​)
            // To check your gradle version go to file inside project)​)​
            classpath ''
  5. Click SyncNow. (Alternatively, from Tools > Android, select Sync Project with Gradle Files. Sync Project
  6. The Hurree SDK plugin is now installed. You can verify this in Android Studio by going File > Project Structure > Module > Dependencies and ensuring that the Hurree SDK is listed.

results matching ""

    No results matching ""