Installing the Mason Android SDK
-
Download the
Mason Platform SDK AAR
andJavadoc
listed on our Android SDK documentation -
Include the
.aar
file in the top-levellibs
directory of your project. -
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'
-
All done!