In case the modules described in Gradle dependencies in ‘Installation’ section isn't working or syncing them is failing for some reason, you can install the SDK in your project via local aar files.
In order to install the modules from aar files, simply do the following steps:
- Open the app build.gradle file.
- In the global scope after the ‘android’ block, add the following code:
This code declares that the directory ‘libs’ will be a part of the build process.
- Move the following files to ‘libs’ directory:
4. Open the app build.gradle file and add the following dependencies in the ‘dependencies’ block:
Sync and run your app.