//admob嵌入applovinimplementation 'com.google.ads.mediation:applovin:11.10.1.0'
<!--applovin广告相关--> <meta-data android:name="applovin.sdk.key"android:value="922wQKbta1GBIrdDsdJQkPza6l1RfGNcc8paoUR1yvs_GcB6WNqMbB4MR7FkV7MGSpsSykXloJUyIH3quh7eNK"/> <meta-dataandroid:name="AppLovin.sdk.verbose_logging"android:value="true" />
光看admob的文档不会创建applovin的应用,必须走一遍applovin的初始化
AppLovinSdk.getInstance( this ).setMediationProvider( "max" )
AppLovinSdk.getInstance( this ).initializeSdk({ configuration: AppLovinSdkConfiguration -> // AppLovin SDK is initialized, start loading ads LogUtil.w("initialize status= {AppLovin SDK is initialized, start loading ads}") })
记下来,下次不会掉同一个坑