我尝试使用Adcolony Network整合adMob奖励视频作为第三部分。我做了所有的事情,比如整合sdk等......它不能用我的单位ID工作,但另一个工作。我不认为这是代码问题,这是Log:
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
W/Ads: Failed to load ad: 3
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
E/AdColony: AdColony methods used before initialization, Activity reference is null. Disabling AdColony until next launch.
E/AndroidRuntime: FATAL EXCEPTION: Thread-1442
Process: com.example.utente.guessimageferes, PID: 868
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.Activity.runOnUiThread(java.lang.Runnable)' on a null object reference
at com.jirbo.adcolony.AdColonyAdapter.a(SourceFile:474)
at com.jirbo.adcolony.AdColonyAdapter$9.run(SourceFile:514)
at java.lang.Thread.run(Thread.java:818)
I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@c50de45 time:2838444
D/ViewRootImpl: #3 mView = null
I/Process: Sending signal. PID: 868 SIG: 9
Application terminated.
比应用程序崩溃。提前致谢
答案 0 :(得分:0)
你的意思是你试图单独使用几个SDK(比如通过GP分阶段推出)或同时(调解)? 我想你想使用Adcolony中介,我在他们的调解伙伴http://support.adcolony.com/customer/en/portal/articles/678369-mediators-network-aggregators-f-a-q中看到了AdMob。如果您是在AdColony中介网络中实施SDK,则很可能在您的案例中存在冲突。我建议联系他们的支持,并要求他们检查我的APK。或者,您可以尝试通过AdMob中介实施Adcolony SDK。 无论如何,调解员中有更多很酷的解决方案(我说AdColony调解合作伙伴的名单并不大)支持AdMob和其他网络,相当肯定你会找到合适的东西。