Unity Heyzap 9.10.1 Vungle 4.0.1 未初始化。 Android 中的运行时错误
Unity Heyzap 9.10.1 Vungle 4.0.1 not initialized. Runtime error in Android
我一直在尝试将 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 )
Exception/Error
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 玩游戏服务版本。
您可以将日志和 apk 发送至支持@heyzap.com,我们可以确定您的问题所在。
我一直在尝试将 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 )
Exception/Error
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 玩游戏服务版本。
您可以将日志和 apk 发送至支持@heyzap.com,我们可以确定您的问题所在。