-
Notifications
You must be signed in to change notification settings - Fork 4
Additional Chartboost steps
⚡ Before you start
Make sure you have correctly Configuring SDK.
Chartboost SDK causes a build error if a Android Gradle Wrapper version lower than 6.5 is used:
java.lang.UnsupportedOperationException: This feature requires ASM7
Gradle is a build system that automates a number of build processes and prevents many common build errors.
The Unity Android build system is based on Gradle, and the Android Gradle plugin adds several features that are specific to building Android apps.
The CAS Unity plugin automatically determines the optimal Gradle plugin version depending on the selected version of the Gradle Wrapper in Unity->Preferences->External Tools
menu.
You have the option to disable automatic Update Gradle Plugin
in Assets > CleverAdsSlutions > Android Settings
.
Although the Android Gradle Wrapper is typically updated in lock-step with Unity version, the wrapper can run independent of Unity and be updated separately:
- Download Gradle wrapper 6.5.1
- Unzip the archive to any location.
- Go to
Unity->Preferences->External Tools
menu. - Deselect option:
- Gradle Installed with Unity(recommended)
- Select a path to a
.../gradle-6.5.1
you have downloaded manually. - The CAS Unity plugin will do the rest of the configuration automatically.
🔗 Done! What’s Next?
- Project Setup
- Configuring SDK
- Include Android
- Include iOS
- Additional mediation steps
- App-ads.txt🔗