Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Vungle initialization causes app to crash with IllegalStateException
Started by stanga Aug 03 2016 06:24 AM

3 replies to this topic
vungle ads monetization
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

stanga

[GLOBAL: userInfoPane.html]
stanga
  • Contributor

  • 193 posts
  • Corona SDK

Starting from today, whenever I compile my app for Android it crashes when it tries to initialize the Vungle plugin. Nothing has changed on my end, so perhaps a new version of the plugin was pushed? Or maybe some other plugin has changed and interferes with the initialization. 

 

I get the following stack trace:

W/System.err( 5251): java.lang.RuntimeException: An error occured while executing doInBackground()
V/Corona  ( 5251): Loading via reflection: CoronaProvider.ads.vungle.LuaLoaderW/System.err( 5251): at android.os.AsyncTask$3.done(AsyncTask.java:299)
W/System.err( 5251):    at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
W/System.err( 5251):    at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
W/System.err( 5251):    at java.util.concurrent.FutureTask.run(FutureTask.java:239)
W/System.err( 5251):    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
W/System.err( 5251):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
W/System.err( 5251):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
W/System.err( 5251):    at java.lang.Thread.run(Thread.java:841)
W/System.err( 5251): Caused by: java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right value.  Expected 4242000 but found 0.  You must have the following declaration within the <application> element:     <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
W/System.err( 5251):    at com.google.android.gms.common.GooglePlayServicesUtil.n(Unknown Source)
W/System.err( 5251):    at com.google.android.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable(Unknown Source)
W/System.err( 5251):    at com.google.android.gms.common.GooglePlayServicesUtil.m(Unknown Source)
W/System.err( 5251):    at com.google.android.gms.ads.identifier.AdvertisingIdClient.g(Unknown Source)
W/System.err( 5251):    at com.google.android.gms.ads.identifier.AdvertisingIdClient.getAdvertisingIdInfo(Unknown Source)
W/System.err( 5251):    at plugin.applovin.CoronaBeacon$1$1.doInBackground(CoronaBeacon.java:85)
W/System.err( 5251):    at plugin.applovin.CoronaBeacon$1$1.doInBackground(CoronaBeacon.java:78)
W/System.err( 5251):    at android.os.AsyncTask$2.call(AsyncTask.java:287)
W/System.err( 5251):    at java.util.concurrent.FutureTask.run(FutureTask.java:234)
W/System.err( 5251):    ... 4 more

Can someone help me fix this issue?

Thanks

 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 23,917 posts
  • Corona Staff

We are looking into this!

 

Rob



[TOPIC: post.html]
#3

Ajay McCaleb

[GLOBAL: userInfoPane.html]
Ajay McCaleb
  • Contributor

  • 209 posts
  • Corona Staff

Can you give it another try? We fixed something on the server. It could take a little bit to propagate through the servers.

 

Thanks



[TOPIC: post.html]
#4

stanga

[GLOBAL: userInfoPane.html]
stanga
  • Contributor

  • 193 posts
  • Corona SDK

It works now, thanks!




[topic_controls]
[/topic_controls]