Mopub ads not showing

后端 未结 2 1667
青春惊慌失措
青春惊慌失措 2020-11-30 13:19

I\'ve been stuck on an issue for a while and I can\'t figure out what it is. The thing is I recently updated the Mopub Android SDK and both interstitial + banner ad

2条回答
  •  -上瘾入骨i
    2020-11-30 13:52

    It is ProGuard indeed. If you don't want it to "get rid" of Mopub, AdMob and MMedia code entirely, just put the following lines into proguard-project.txt file of your project:

        -keep class com.google.ads.** {*;}
        -keep class com.mopub.mobileads.** {*;}
        -keep class com.millennialmedia.android.** {*;}
        -keep class com.millennialmedia.google.** {*;}
    

提交回复
热议问题