Mason Docs

Installing the Mason Android SDK

  1. Download the Mason Platform SDK AAR and Javadoc listed on our Android SDK documentation

  2. Include the .aar file in the top-level libs directory of your project.

  3. Modify both of your project's gradle files:

    build.gradle:

    allprojects {
        repositories {
            // other repositories
            flatDir {
                dirs 'libs'
            }
        }
    }
    

    app/build.gradle:

    compile(name: 'mason-platform-android-0.2.1-release', ext:'aar') // add the platform aar - NOTE: update the name to match included file
    // NOTE: additional required dependencies
    implementation 'com.squareup.retrofit2:retrofit:2.4.0'
    implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
    
  4. All done!