2014-05-09 70 views
6

我加入谷歌使用鏈接無法找到或實例化自定義事件:com.mopub.mobileads.GoogleAdMobInterstitial

https://github.com/mopub/mopub-android-sdk/wiki/Integrating-with-Google-Play-Services

我跟所有的步驟,通過發揮mopub Servcies(AdMob的廣告),但是當我運行它讓我錯誤 無法找到或實例化自定義事件的代碼:com.mopub.mobileads.GoogleAdMobBanner

閱讀的話題http://help.mopub.com/customer/portal/articles/785346-issues-with-admob-proguard 後我加入了以下線在我的項目的proguard的-project.txt文件和sdk項目proguard.cf g文件但問題仍未解決。請幫忙。

-keep class com.google.android.gms.common.GooglePlayServicesUtil {*;} 

# AdMob Support 
-keep class com.google.ads.** 


-keepclassmembers class com.mopub.mobileads.* { public *; } 

-keep public class com.mopub.mobileads.* 

回答