vungle crashing my games!

Hi,

Since about an hour ago, all the builds I make with vungle crash when I call ads.init().

I’ve tried with 3 different games.

What’s going on?

Thanks!

The same case with me .   :wacko:

Good to know I’m not alone.

Took me a while to figure out what caused this…

Looks like it’s something to do with the ad indentifier, at least on Android:

07-16 10:07:29.842: E/VungleAsync(13366): java.lang.NoClassDefFoundError: com.google.android.gms.ads.identifier.AdvertisingIdClient 07-16 10:07:29.842: E/VungleAsync(13366): at com.vungle.publisher.env.AdvertisingDeviceIdStrategy$FetchAdvertisingPreferencesRunnable.run(vungle:45) 07-16 10:07:29.842: E/VungleAsync(13366): at com.vungle.publisher.async.ScheduledPriorityExecutor$a$a.run(vungle:234) 07-16 10:07:29.842: E/VungleAsync(13366): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 07-16 10:07:29.842: E/VungleAsync(13366): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 07-16 10:07:29.842: E/VungleAsync(13366): at java.lang.Thread.run(Thread.java:841) 07-16 10:07:29.842: W/dalvikvm(13366): threadid=16: thread exiting with uncaught exception (group=0x41882da0) 07-16 10:07:29.842: E/VungleAsync(13366): java.lang.NoClassDefFoundError: com.google.android.gms.ads.identifier.AdvertisingIdClient 07-16 10:07:29.842: E/VungleAsync(13366): at com.vungle.publisher.env.AdvertisingDeviceIdStrategy$FetchAdvertisingPreferencesRunnable.run(vungle:45) 07-16 10:07:29.842: E/VungleAsync(13366): at com.vungle.publisher.async.ScheduledPriorityExecutor$a$a.run(vungle:234) 07-16 10:07:29.842: E/VungleAsync(13366): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 07-16 10:07:29.842: E/VungleAsync(13366): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 07-16 10:07:29.842: E/VungleAsync(13366): at java.lang.Thread.run(Thread.java:841) 07-16 10:07:29.842: W/dalvikvm(13366): threadid=17: thread exiting with uncaught exception (group=0x41882da0) 07-16 10:07:29.842: I/Process(13366): Sending signal. PID: 13366 SIG: 9 07-16 10:07:29.842: E/AndroidRuntime(13366): FATAL EXCEPTION: VungleAsyncMainThread-0 07-16 10:07:29.842: E/AndroidRuntime(13366): Process: com.mycompany.mygame, PID: 13366 07-16 10:07:29.842: E/AndroidRuntime(13366): java.lang.NoClassDefFoundError: com.google.android.gms.ads.identifier.AdvertisingIdClient 07-16 10:07:29.842: E/AndroidRuntime(13366): at com.vungle.publisher.env.AdvertisingDeviceIdStrategy$FetchAdvertisingPreferencesRunnable.run(vungle:45) 07-16 10:07:29.842: E/AndroidRuntime(13366): at com.vungle.publisher.async.ScheduledPriorityExecutor$a$a.run(vungle:234) 07-16 10:07:29.842: E/AndroidRuntime(13366): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 07-16 10:07:29.842: E/AndroidRuntime(13366): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 07-16 10:07:29.842: E/AndroidRuntime(13366): at java.lang.Thread.run(Thread.java:841) 07-16 10:07:29.862: I/ActivityManager(813): Process com.mycompany.mygame (pid 13366) (adj 0) has died. 07-16 10:07:29.862: I/WindowState(813): WIN DEATH: Window{430da980 u0 com.mycompany.mygame/com.ansca.corona.CoronaActivity} 07-16 10:07:29.862: I/SurfaceFlinger(277): id=702 Removed TurfaceView (17/20) 07-16 10:07:29.862: I/SurfaceFlinger(277): id=702 Removed TurfaceView (-2/20) 07-16 10:07:29.862: D/KeyguardViewMediator(1233): setHidden false 07-16 10:07:29.862: D/KeyguardUpdateMonitor(1233): sendKeyguardVisibilityChanged(true) 07-16 10:07:29.862: D/KeyguardUpdateMonitor(1233): handleKeyguardVisibilityChanged(1) 07-16 10:07:29.862: W/WindowManager(813): Force-removing child win Window{43a8fb00 u0 SurfaceView} from container Window{430da980 u0 com.mycompany.mygame/com.ansca.corona.CoronaActivity} 07-16 10:07:29.862: W/ContextImpl(813): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1479 com.android.server.am.ActivityStack.removeHistoryRecordsForAppLocked:3697 com.android.server.am.ActivityStack.handleAppDiedLocked:4461 com.android.server.am.ActivityStackSupervisor.handleAppDiedLocked:2965 com.android.server.am.ActivityManagerService.handleAppDiedLocked:4562 07-16 10:07:29.862: W/ActivityManager(813): Force removing ActivityRecord{42e48ac8 u0 com.mycompany.mygame/com.ansca.corona.CoronaActivity t47}: app died, no saved state

Can someone from Corona let us know if they have any ideas on this please? We were planning on submitting today.

Can confirm that it doesn’t happen on iOS for me, how about everyone else?  

Same for me :S

Same here. Already released apps are working fine. Can only speak of Android right now.

Hi @Paskuniak,

I’m the Community Manager here at Vungle. Thank you so much for reporting this! Our team is working to fix the issue ASAP. Thank you  for your patience and please feel free to email me directly at sofie.singer@vungle.com with any questions. We’ll update you as soon as the issue is resolved.

Cheers,

Sofie

Same here, please, fix it as soon as possible!

Hi Everyone,

Just wanted to give you a quick update:

We just pushed a fix to Corona. Once Corona updates, we should be ready to go! Please feel free to email me directly with any questions at sofie.singer@vungle.com.

Thank you for your patience!

Cheers,

Sofie

everything seems to work now. thanks!

Great! Thanks so much for all your help!

Is ok right now?  I just try to build Android version , it seems still not ok .

Corona still not update …

Hi @codingcake,

Corona may still need to update – please email me directly at sofie.singer@vungle.com if this problem persists.

Cheers,

Sofie

Built with older version (I think it was 2162) did run again, but showed no vungle ads. Updated to latest (2370) and the app crashes. Waiting for corona update now…

Hi there,

Just wanted to share a quick update here:

Due to restrictions from Corona, a new version of the SDK for Android will *only* be available for people with access to Daily Builds of the Corona SDK (Pro and Enterprise customers). The rest of Corona users will see the old Android plugin. For iOS this is not the case and everyone should be able to use the new SDK.

This will be available to everyone in the very near future.

Thank you all again for your patience!

Cheers,

Sofie

I have access to daily builds, but do you happen to know which build number it will work from? Or can someone from Corona let us know please?  

I presume that there is a change being made within Corona itself to allow support for this, can someone from Corona comment on whether other plugins are going to be affected by this new android ID change?

We now know vungle has just been fixed, and I’ve the developers about the Chartboost and AmazonAds plugins, but can anyone confirm whether these plugins will carry on working:

plugin.carrot plugin.gameanalytics CoronaProvider.native.popup.social CoronaProvider.analytics.flurry plugin.GameThrivePushNotifications CoronaProvider.gameNetwork.google plugin.google.iap.v3 plugin.amazon.iap

I have latest daily build, 2371 - and error is still there:

I/dalvikvm(26668): Could not find method com.google.android.gms.ads.identifier.AdvertisingIdClient.getAdvertisingIdInfo, referenced from method com.vungle.publisher.env.AdvertisingDeviceIdStrategy$FetchAdvertisingPreferencesRunnable.run W/dalvikvm(26668): VFY: unable to resolve static method 12898: Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;.getAdvertisingIdInfo (Landroid/content/Context;)Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info; D/dalvikvm(26668): VFY: replacing opcode 0x71 at 0x0009 E/VungleAsync(26668): java.lang.NoClassDefFoundError: com.google.android.gms.ads.identifier.AdvertisingIdClient E/VungleAsync(26668): at com.vungle.publisher.env.AdvertisingDeviceIdStrategy$FetchAdvertisingPreferencesRunnable.run(vungle:45) E/VungleAsync(26668): at com.vungle.publisher.async.ScheduledPriorityExecutor$a$a.run(vungle:234) E/VungleAsync(26668): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) E/VungleAsync(26668): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) E/VungleAsync(26668): at java.lang.Thread.run(Thread.java:841) W/dalvikvm(26668): threadid=14: thread exiting with uncaught exception (group=0x41619ba8) W/System.err(26668): java.lang.NoClassDefFoundError: com.google.android.gms.ads.identifier.AdvertisingIdClient W/System.err(26668): at com.vungle.publisher.env.AdvertisingDeviceIdStrategy$FetchAdvertisingPreferencesRunnable.run(vungle:45)

When can we expect this urgent issue to be fixed?

Thanks!

There was no new daily build published yesterday, so my guess is that it will be in the next corona build (hopefully today).

A new build has been released (2014.2371). I just tried that and it still doesn’t work:

E/VungleAsync(13815): java.lang.NoClassDefFoundError: com.google.android.gms.ads.identifier.AdvertisingIdClient

Game still crashes as soon as I try to initialise Vungle.