我试图使用Adcolony Network作为第三部分集成ADMOB奖励的视频。我做了所有的工作,例如集成SDK等...它与我的单位ID不起作用,但与另一个ID不起作用。我认为这不是代码问题,这是日志:
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.
比应用程序崩溃。预先感谢
您的意思是您尝试单独使用多个SDK(例如通过GP舞台播放)或同时(调解)?我想您想使用Adcolony调解,并且我在他们的调解伙伴中看到Admob http://support.adcolony.com/customer/en/portal/articles/678369-Mediators-network-network-network-network-network-network-network-network-network-network-f--a-q。如果您是从Adcolony调解网络中实现的,则很可能在SDK之间存在冲突。我建议联系他们的支持,并要求他们检查我的APK。或者,您可以尝试通过ADMOB调解实现Adcolony SDK。无论如何,调解员之间还有更多很酷的解决方案(我想说中介合作伙伴的杂物列表并不那么大)支持ADMOB和其他网络,很确定您会发现合适的东西。