Dependencies
First, it's necessary to add the following Maven repository inside the repositories
block of the settings.gradle
file
In projects that still use an old structure, repositories
block is located in thebuild.gradle
file at the app level
Once added, you can proceed to include the SDK. To do this, you need to enter the following line inside the dependencies
block of the build.gradle
file (:app
level).
In the same file, just above the repositories block, it is necessary to add the following code snippet to fetch the latest updates and ensure more efficient monetization:
If you do not include the above code snippet, monetization may be affected, as it ensures that you always have the latest version of our SDK.
Furthermore, in case you don't already have compatibility with Java 8, it's necessary to add these additional lines inside the android
block, also in the samebuild.gradle
file
Once this is done, you can proceed with the installation and use of the SDK.
Last updated