I just integrated Vungle with SDKBox on my application. It works perfectly on the first time the Ad is displayed. The second time I try to show another Ad, an error appears on the console and no ad is shown:
“Error encountered playing vungle ad: Error Domain=VungleSDK Code=3 “(null)””
It now works perfectly on iOS. I was behind a proxy and the ads where being blocked, so I could only see the first ad (on cache and maybe downloaded previously from the time I was not with the proxy).
The problem now is only on Android. The cache is available each time I try to play an Ad but as the Ad stars playing it stops and goes to the “download Now” screen. What did I miss?
This bug same to me, I can’t play ads on iOS when I call sdkbox::PluginVungle::show(“video”);
Error:
Vungle :Error encountered playing vungle ad: �\302�\227\245�
[VUNGLESDK] request ad: sleep
Please help me!
I also have a similar problem, but in my case the app crashes when I close the first ad that plays. When I hit the X button app crashes. Here is the logcat:
06-27 00:56:00.451: I/ViewRootImpl(15506): ViewRoot's Touch Event : Touch Down
06-27 00:56:00.551: I/ViewRootImpl(15506): ViewRoot's Touch Event : Touch UP
06-27 00:56:00.931: D/Cocos2dxActivity(15506): onResume()
06-27 00:56:01.291: D/Cocos2dxActivity(15506): onWindowFocusChanged() hasFocus=true
06-27 00:56:01.291: V/MediaPlayer[Native](15506): start
06-27 00:56:01.291: D/MediaPlayer[Native](15506): calling notify_player_state: 16
06-27 00:56:01.351: D/MediaPlayer[JAVA](15506): broadcasting MEDIA_CHANGE_PLAYER_STATE(no context) : 0x0
06-27 00:56:01.351: V/MediaPlayer[Native](15506): invoke 72
06-27 00:56:01.351: D/MediaPlayer[Native](15506): invoke lgeInvokeId=0x7e000002
06-27 00:56:01.351: D/MediaPlayer[Native](15506): MediaPlayer::invoke::getparam
06-27 00:56:01.351: D/MediaPlayer[Native](15506): MediaPlayer::getParameter mCurrentState = 0x00000010
06-27 00:56:01.351: D/MediaPlayer[JAVA](15506): broadcasting MEDIA_CHANGE_PLAYER_STATE(no context) : state = 16
06-27 00:56:01.351: V/MediaPlayer[Native](15506): getCurrentPosition
06-27 00:56:01.351: V/MediaPlayer[Native](15506): getDuration_l
06-27 00:56:01.371: D/BubblePopupHelper(15506): isShowingBubblePopup : false
06-27 00:56:01.371: D/BubblePopupHelper(15506): isShowingBubblePopup : false
06-27 00:56:01.401: D/AndroidRuntime(15506): Shutting down VM
06-27 00:56:01.401: W/dalvikvm(15506): threadid=1: thread exiting with uncaught exception (group=0x4172fe48)
06-27 00:56:01.401: E/AndroidRuntime(15506): FATAL EXCEPTION: main
06-27 00:56:01.401: E/AndroidRuntime(15506): Process: com.me.mygame, PID: 15506
06-27 00:56:01.401: E/AndroidRuntime(15506): java.lang.IllegalStateException: A fatal developer error has occurred. Check the logs for further information.
06-27 00:56:01.401: E/AndroidRuntime(15506): at com.google.android.gms.common.internal.zzd$zza.zzc(Unknown Source)
06-27 00:56:01.401: E/AndroidRuntime(15506): at com.google.android.gms.common.internal.zzd$zza.zzw(Unknown Source)
06-27 00:56:01.401: E/AndroidRuntime(15506): at com.google.android.gms.common.internal.zzd$zze.zztr(Unknown Source)
06-27 00:56:01.401: E/AndroidRuntime(15506): at com.google.android.gms.common.internal.zzd$zzd.handleMessage(Unknown Source)
06-27 00:56:01.401: E/AndroidRuntime(15506): at android.os.Handler.dispatchMessage(Handler.java:102)
06-27 00:56:01.401: E/AndroidRuntime(15506): at android.os.Looper.loop(Looper.java:136)
06-27 00:56:01.401: E/AndroidRuntime(15506): at android.app.ActivityThread.main(ActivityThread.java:5103)
06-27 00:56:01.401: E/AndroidRuntime(15506): at java.lang.reflect.Method.invokeNative(Native Method)
06-27 00:56:01.401: E/AndroidRuntime(15506): at java.lang.reflect.Method.invoke(Method.java:515)
06-27 00:56:01.401: E/AndroidRuntime(15506): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
06-27 00:56:01.401: E/AndroidRuntime(15506): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606)
06-27 00:56:01.401: E/AndroidRuntime(15506): at dalvik.system.NativeStart.main(Native Method)
06-27 00:56:04.324: I/Process(15506): Sending signal. PID: 15506 SIG: 9
Yes, I’ve managed to somehow solve this by creating a new project from sources, my old one was using precompiled libraries. Now it works, but every time I close a vungle ad it tries to reconnect to google play services, and that’s annoying. I’m now trying a release build to see if my app manages to connect to Google Play Services successfully(in debug mode it doesn’t, sdkboxplay also doesn’t show leaderboards) and maybe it won’t keep trying to reconnect each time I view an ad. Any idea why vungle(and also tweeter) does this?