AppLovin / AppLovin-MAX-SDK-Android

Other
233 stars 104 forks source link

Build failed on AGP 4.2.2 when target/compileSdkVersion 34 #686

Closed sosloop closed 4 months ago

sosloop commented 4 months ago

MAX SDK Version

12.1.0

Device/Platform Info

android 14

Current Behavior

implementation ('com.applovin:applovin-sdk:12.1.0') implementation 'com.applovin.mediation:fyber-adapter:8.2.5.0'

gradle 6.7.1 , 4.2.2 , android sdk 34

Expected Behavior

No response

How to Reproduce

Additional Info

No response

applovinAsh commented 4 months ago

@sosloop - This seems to be caused by an incompatibility between AGP 4.2.2 and Android SDK 34. You will need to update your project's AGP, as explained here: https://stackoverflow.com/questions/77032836/error-after-changing-apps-compilesdkversion-and-targetsdkversion/77622916#77622916.

sosloop commented 4 months ago

@sosloop - This seems to be caused by an incompatibility between AGP 4.2.2 and Android SDK 34. You will need to update your project's AGP, as explained here: https://stackoverflow.com/questions/77032836/error-after-changing-apps-compilesdkversion-and-targetsdkversion/77622916#77622916.

unity2021 not support gradle7.1.2

applovinAsh commented 4 months ago

According to Unity's documentation, 7.1.2 is only compatible with Unity Versions 2022.3 and up: https://docs.unity3d.com/Manual/android-gradle-overview.html