我一直在尝试将Heyzap与Vungle,Admob,Chartboost,Unity Ads和Facebook Audience Network集成。
除了Admob和Vungle,其他一切都运行良好。对于Admob,我没有收到任何错误。但是没有正在播放奖励视频。横幅和插页式广告单独工作正常。
在 Vungle 的情况下,我认为 Heyzap 正在尝试播放,但由于初始化错误,它无法这样做。下面附加的错误
我不是从 Unity 直接获取 apk 输出。它首先导出到Android Studio Project,然后我编译所有模块以获取apk。
平台
Unity - 5.4.3p4
Google play service version - 10.0.1
Heyzap - latest version ( 9.10.1 )
异常/错误
Rejecting re-init on previously-failed class java.lang.Class<com.vungle.publisher.sn>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/GooglePlayServicesClient$ConnectionCallbacks;
at void com.vungle.publisher.sk.<init>() (vungle:46)
at java.lang.Object com.vungle.publisher.sl.get() (vungle:8)
at java.lang.Object com.vungle.publisher.rl.get() (vungle:10)
at void com.vungle.publisher.sh.injectMembers(java.lang.Object) (vungle:7)
at void com.vungle.publisher.rw.a(com.vungle.publisher.sf) (vungle:4430)
at void com.vungle.publisher.sf.<init>() (vungle:26)
at java.lang.Object com.vungle.publisher.sg.get() (vungle:8)
at java.lang.Object com.vungle.publisher.rm.get() (vungle:10)
at void com.vungle.publisher.yr.injectMembers(java.lang.Object) (vungle:12)
at java.lang.Object com.vungle.publisher.yq.get() (vungle:8)
at void com.vungle.publisher.yi.injectMembers(java.lang.Object) (vungle:7)
at java.lang.Object com.vungle.publisher.yh.get() (vungle:8)
at void com.vungle.publisher.yo.injectMembers(java.lang.Object) (vungle:8)
at java.lang.Object com.vungle.publisher.yn.get() (vungle:8)
at void com.vungle.publisher.ye.injectMembers(java.lang.Object) (vungle:12)
at java.lang.Object com.vungle.publisher.yd.get() (vungle:8)
at void com.vungle.publisher.qa.injectMembers(java.lang.Object) (vungle:17)
at java.lang.Object com.vungle.publisher.pz.get() (vungle:8)
at void com.vungle.publisher.e.injectMembers(java.lang.Object) (vungle:24)
at java.lang.Object com.vungle.publisher.d.get() (vungle:8)
at void com.vungle.publisher.VunglePubBase_MembersInjector.injectMembers(com.vungle.publisher.VunglePubBase) (vungle:133)
at void com.vungle.publisher.VunglePubBase_MembersInjector.injectMembers(java.lang.Object) (vungle:18)
at void com.vungle.publisher.rw.a(com.vungle.publisher.VunglePubBase) (vungle:4415)
at boolean com.vungle.publisher.VunglePubBase.init(android.content.Context, java.lang.String) (vungle:99)
at boolean com.vungle.publisher.VunglePub.init(android.content.Context, java.lang.String) (vungle:33)
at void com.heyzap.sdk.mediation.adapter.VungleAdapter.onStart() (VungleAdapter.java:94)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.GooglePlayServicesClient$ConnectionCallbacks" on path: DexPathList[[dex file "/data/data/com.xxxx.games.xxxx/files/instant-run/dex/slice-vunglePub_724db8a828a3a586b4f4db2f65c96cc0429082ae-classes.dex", dex file "/data/data/com.xxxx.games.xxxx/files/instant-run/dex/slice-vunglePlugin_f8395a7b82d1eaa5336e1b9d607cb5125fc9ed7c-classes.dex", dex file "/data/data/com.xxxx.games.xxxx/files/instant-run/dex/slice-vungle-publisher-adaptive-id-4.0.3_2cccecc2fb915338ed2645c765b198c2f7af0284-classes.dex", dex file "/data/data/com.xxxx.games.xxxx/files/instant-run/dex/slice-unitydialogplugin_fcfa6cff156e634342ad230b316d5e851da59364-classes.dex", dex file "/data/data/com.xxxx.games.xxxx/files/instant-run/dex/slice-unityAds-unspecified-jars_83e46d29cb71456edd501e16a1e657053bcdc7fc-classes.dex", dex file "/data/data/com.xxxx.games.xxxx/files/instant-run/dex/slice-unity-classes_a2
at void com.vungle.publisher.sk.<init>() (vungle:46)
at java.lang.Object com.vungle.publisher.sl.get() (vungle:8)
at java.lang.Object com.vungle.publisher.rl.get() (vungle:10)
at void com.vungle.publisher.sh.injectMembers(java.lang.Object) (vungle:7)
at void com.vungle.publisher.rw.a(com.vungle.publisher.sf) (vungle:4430)
at void com.vungle.publisher.sf.<init>() (vungle:26)
at java.lang.Object com.vungle.publisher.sg.get() (vungle:8)
at java.lang.Object com.vungle.publisher.rm.get() (vungle:10)
at void com.vungle.publisher.yr.injectMembers(java.lang.Object) (vungle:12)
at java.lang.Object com.vungle.publisher.yq.get() (vungle:8)
at void com.vungle.publisher.yi.injectMembers(java.lang.Object) (vungle:7)
at java.lang.Object com.vungle.publisher.yh.get() (vungle:8)
at void com.vungle.publisher.yo.injectMembers(java.lang.Object) (vungle:8)
at java.lang.Object com.vungle.publisher.yn.get() (vungle:8)
at void com.vungle.publisher.ye.injectMembers(java.lang.Object) (vungle:12)
at java.lang.Object com.vungle.publisher.yd.get() (vungle:8)
at void com.vungle.publisher.qa.injectMembers(java.lang.Object) (vungle:17)
at java.lang.Object com.vungle.publisher.pz.get() (vungle:8)
at void com.vungle.publisher.e.injectMembers(java.lang.Object) (vungle:24)
at java.lang.Object com.vungle.publisher.d.get() (vungle:8)
at void com.vungle.publisher.VunglePubBase_MembersInjector.injectMembers(com.vungle.publisher.VunglePubBase) (vungle:133)
at void com.vungle.publisher.VunglePubBase_MembersInjector.injectMembers(java.lang.Object) (vungle:18)
at void com.vungle.publisher.rw.a(com.vungle.publisher.VunglePubBase) (vungle:4415)
at boolean com.vungle.publisher.VunglePubBase.init(android.content.Context, java.lang.String) (vungle:99)
at boolean com.vungle.publisher.VunglePub.init(android.content.Context, java.lang.String) (vungle:33)
at void com.heyzap.sdk.mediation.adapter.VungleAdapter.onStart() (VungleAdapter.java:94)
Rejecting re-init on previously-failed class java.lang.Class<com.vungle.publisher.sn>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/GooglePlayServicesClient$ConnectionCallbacks;
at void com.vungle.publisher.sk.<init>() (vungle:46)
at java.lang.Object com.vungle.publisher.sl.get() (vungle:8)
at java.lang.Object com.vungle.publisher.rl.get() (vungle:10)
at void com.vungle.publisher.sh.injectMembers(java.lang.Object) (vungle:7)
at void com.vungle.publisher.rw.a(com.vungle.publisher.sf) (vungle:4430)
at void com.vungle.publisher.sf.<init>() (vungle:26)
at java.lang.Object com.vungle.publisher.sg.get() (vungle:8)
at java.lang.Object com.vungle.publisher.rm.get() (vungle:10)
at void com.vungle.publisher.yr.injectMembers(java.lang.Object) (vungle:12)
at java.lang.Object com.vungle.publisher.yq.get() (vungle:8)
at void com.vungle.publisher.yi.injectMembers(java.lang.Object) (vungle:7)
at java.lang.Object com.vungle.publisher.yh.get() (vungle:8)
at void com.vungle.publisher.yo.injectMembers(java.lang.Object) (vungle:8)
at java.lang.Object com.vungle.publisher.yn.get() (vungle:8)
at void com.vungle.publisher.ye.injectMembers(java.lang.Object) (vungle:12)
at java.lang.Object com.vungle.publisher.yd.get() (vungle:8)
at void com.vungle.publisher.qa.injectMembers(java.lang.Object) (vungle:17)
at java.lang.Object com.vungle.publisher.pz.get() (vungle:8)
at void com.vungle.publisher.e.injectMembers(java.lang.Object) (vungle:24)
at java.lang.Object com.vungle.publisher.d.get() (vungle:8)
at void com.vungle.publisher.VunglePubBase_MembersInjector.injectMembers(com.vungle.publisher.VunglePubBase) (vungle:133)
at void com.vungle.publisher.VunglePubBase_MembersInjector.injectMembers(java.lang.Object) (vungle:18)
at void com.vungle.publisher.rw.a(com.vungle.publisher.VunglePubBase) (vungle:4415)
at boolean com.vungle.publisher.VunglePubBase.init(android.content.Context, java.lang.String) (vungle:99)
at boolean com.vungle.publisher.VunglePub.init(android.content.Context, java.lang.String) (vungle:33)
at void com.heyzap.sdk.mediation.adapter.VungleAdapter.onStart() (VungleAdapter.java:94)
这些错误不会导致您遇到的问题,它们总是由 vungle 显示,因为它可以选择与较旧的 Google Play 游戏服务版本一起使用。
您可以将日志和apk发送到 support@heyzap.com 我们可以确定您的问题所在。