我正在尝试使用 InMobi 实现 AdMob 中介,但广告不会显示。我关注 their documentation我已经添加了 SDK 和 AndroidX:
implementation 'com.google.firebase:firebase-ads:18.2.0'
implementation 'com.google.ads.mediation:inmobi:7.3.0.0'
android.enableJetifier=true
android.useAndroidX=true
但是,当我使用 Mediation Test Suite我收到一个 list 错误,如图所示:
什么可能导致问题?
最佳答案
我在 IronSource 调解中心找到了解决方案。我所要做的就是将其添加到 list 中:
<activity
android:name="com.inmobi.rendering.InMobiAdActivity"
android:configChanges="keyboardHidden|orientation|keyboard|smallestScreenSize|screenSize"
android:hardwareAccelerated="true" />
<receiver
android:name="com.inmobi.commons.core.utilities.uid.ImIdShareBroadCastReceiver"
android:enabled="true"
android:exported="true"
tools:ignore="ExportedReceiver">
<intent-filter>
<action android:name="com.inmobi.share.id" />
</intent-filter>
</receiver>
附言 ImIdShareBroadCast 接收者 已弃用但需要。
关于android - InMobi 广告的 AdMob 中介 list 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58431236/