Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Vungle ads do not initialise since build 2014.2429 - Error shows up in app
Started by heftyApps Sep 19 2014 12:25 PM

41 replies to this topic
vungle error bug corona build init initialise
[TOPIC CONTROLS]
Page 1 of 2 1 2
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

heftyApps

[GLOBAL: userInfoPane.html]
heftyApps
  • Contributor

  • 102 posts
  • Corona SDK

There is a bug which has not been fixed since build 2014.2429. When trying to initialize Vungle ads, the following error is showing in the app (when compiled and run on the device): 

 

Runtime Error 

java.lang.NoClassDefFoundError: com.vungle.publisher.FullScreenAdActivity

 

Looks as if a class is missing - I filed a bug report under case 35621 a week ago.

 

Initializing Vungle works fine with build 2014.2428 but any other build  > 2428 fails.

 

Please fix!

 

 



[TOPIC: post.html]
#2

euphoriacorona

[GLOBAL: userInfoPane.html]
euphoriacorona
  • Contributor

  • 133 posts
  • Corona SDK

Corona don't maintain the Vungle plugin, Vungle do. Your best course of action would be to report this issue to Vungle directly

[TOPIC: post.html]
#3

heftyApps

[GLOBAL: userInfoPane.html]
heftyApps
  • Contributor

  • 102 posts
  • Corona SDK

I do not think that it is that simple - from previous posts I learned that a certain class is included by Corona in Pro-builds for Vungle to work. Enterprise user have to include this class themselves. If it is missing, Vungle ads won't work either. Maybe the relevant class has not been included in the recent daily builds for the Pro-users or something else is wrong.



[TOPIC: post.html]
#4

sofie.singer

[GLOBAL: userInfoPane.html]
sofie.singer
  • Observer

  • 12 posts
  • Corona SDK

Hi @heftyApps,

 

I'm Sofie, the Community Manager here at Vungle. Can you please email us at tech-support@vungle.com and we'll be happy to help figure out the issue. Please feel free to email me directly in the future at sofie.singer@vungle.com.

 

Thank you for your patience!

 

Cheers,

Sofie



[TOPIC: post.html]
#5

hgbrian

[GLOBAL: userInfoPane.html]
hgbrian
  • Contributor

  • 103 posts
  • Corona SDK

+1 I have the same error. I am currently using build 2439, the most up-to-date build.



[TOPIC: post.html]
#6

hgbrian

[GLOBAL: userInfoPane.html]
hgbrian
  • Contributor

  • 103 posts
  • Corona SDK

I tried build 2428, but I am not seeing Vungle ads...

I do see this error though:

 

E/GooglePlayServicesUtil( 3019): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.

 

My build.settings has this, as recommended:

 

        ["CoronaProvider.ads.vungle"] =
        {
            publisherId = "com.vungle",
        },
        ["plugin.google.play.services"] =
        {
            publisherId = "com.coronalabs",
        },                


[TOPIC: post.html]
#7

jflowers45

[GLOBAL: userInfoPane.html]
jflowers45
  • Contributor

  • 320 posts
  • Enterprise

I'm getting the error with build 2014.2438, which fits what everyone else is saying.



[TOPIC: post.html]
#8

hgbrian

[GLOBAL: userInfoPane.html]
hgbrian
  • Contributor

  • 103 posts
  • Corona SDK

I don't suppose anyone has a guess for why Vungle is failing for me with build 2428?

 

It's not that I have never used Vungle -- I have it running on an Android game from last year.

 

EDIT: I am going to try adding a Google Play Games Id to the game....

http://docs.coronalabs.com/daily/plugin/gameNetwork-google/



[TOPIC: post.html]
#9

jordyn.chuhaloff

[GLOBAL: userInfoPane.html]
jordyn.chuhaloff
  • Enthusiast

  • 49 posts
  • Enterprise

Hi everyone, 

 

Corona's made some changes to Google Ad ID that we will need to incorporate in our plugin. In the meantime, they recommend you include the Facebook plugin, which should cover the missing Google Ad ID. If you have any questions, let me know!

 

Jordyn / Vungle



[TOPIC: post.html]
#10

Naomi

[GLOBAL: userInfoPane.html]
Naomi
  • Corona Geek

  • 2,303 posts
  • Corona SDK

I built APK for Google Play using daily build 2419, and Vungle appears to work as expected.  Does this mean there should be no issue with Vungle plugin when built with earlier daily build?  Did the issue start with daily build 2428?

 

Naomi 



[TOPIC: post.html]
#11

heftyApps

[GLOBAL: userInfoPane.html]
heftyApps
  • Contributor

  • 102 posts
  • Corona SDK

@Naomi: build 2428 works fine for me but the problem start with build 2429 and has not been solved since them. Would be good if someone from Coronalabs could have a look and let us know when/if this will be fixed. I filed a bug Report nearly two weeks ago.

 

Jens



[TOPIC: post.html]
#12

heftyApps

[GLOBAL: userInfoPane.html]
heftyApps
  • Contributor

  • 102 posts
  • Corona SDK

@Sofie: I sent you an email.



[TOPIC: post.html]
#13

Naomi

[GLOBAL: userInfoPane.html]
Naomi
  • Corona Geek

  • 2,303 posts
  • Corona SDK

@heftyApps, thank you so much for the details.  I'll keep it in mind when I need to use more recent daily build for release build my app.

 

Naomi



[TOPIC: post.html]
#14

jflowers45

[GLOBAL: userInfoPane.html]
jflowers45
  • Contributor

  • 320 posts
  • Enterprise

I can confirm that including the FB plugin in build.settings makes Vungle work with newer daily builds.

 

Thanks for the quick assist Jans!



[TOPIC: post.html]
#15

jordyn.chuhaloff

[GLOBAL: userInfoPane.html]
jordyn.chuhaloff
  • Enthusiast

  • 49 posts
  • Enterprise

@jflowers45, thanks for confirming the FB plugin settings work. It seems there is still confusion here, so I'll try to clear it up.

 

In the most recent Corona daily build, Google Play Services was removed. We now need to add it to our Vungle plugin. The FB plugin has it already, which is why including them in your build.settings will work for now. I'll update this thread when we've added Google Play.

 

Thanks!

Vungle / Jordyn



[TOPIC: post.html]
#16

heftyApps

[GLOBAL: userInfoPane.html]
heftyApps
  • Contributor

  • 102 posts
  • Corona SDK

Great, thanks everyone for the feedback - looking forward to having this fixed!

 

Jens



[TOPIC: post.html]
#17

heftyApps

[GLOBAL: userInfoPane.html]
heftyApps
  • Contributor

  • 102 posts
  • Corona SDK

@Jordyn, any news on progress?

 

Thanks, Jens



[TOPIC: post.html]
#18

seanDp32

[GLOBAL: userInfoPane.html]
seanDp32
  • Contributor

  • 168 posts
  • Corona SDK

When will this be fix? I am going to disable vungle in my app untill a solution come around because it crashes my app <build 23/>

[TOPIC: post.html]
#19

seanDp32

[GLOBAL: userInfoPane.html]
seanDp32
  • Contributor

  • 168 posts
  • Corona SDK

Hey guys I have good news I found a fix for build 23 and up. You just need to include the Google services plugin to your app build settings like this

["plugin.google.play.services"] =
{
publisherId = "com.coronalabs"
}

Hope this helps,
Ps my app is working find now with vungle

Sean

[TOPIC: post.html]
#20

heftyApps

[GLOBAL: userInfoPane.html]
heftyApps
  • Contributor

  • 102 posts
  • Corona SDK

Sean, thank you for the workaround. Howeverm I prefer not to include services which I am actually not using in my app so it would be good if Vungle could finally fix this. 

 

Any update on ETA?



[TOPIC: post.html]
#21

seanDp32

[GLOBAL: userInfoPane.html]
seanDp32
  • Contributor

  • 168 posts
  • Corona SDK

I know that vungle pushed out updates to some daily builds for pros but I am not so sure which one.

Sean

[TOPIC: post.html]
#22

dimd

[GLOBAL: userInfoPane.html]
dimd
  • Contributor

  • 100 posts
  • Corona SDK

Well, for me, Corona Version 2014.2448 (2014.9.28) with 

["plugin.google.play.services"] =
{
publisherId = "com.coronalabs"
}

 

doesn't fix the :

Runtime Error 

java.lang.NoClassDefFoundError: com.vungle.publisher.FullScreenAdActivity

 

Jordyn, Sofie, any update on this?



[TOPIC: post.html]
#23

jordyn.chuhaloff

[GLOBAL: userInfoPane.html]
jordyn.chuhaloff
  • Enthusiast

  • 49 posts
  • Enterprise

Hi all, 

 

Since there have been so many replies, I am going to repeat the details I gave before:

 

Why isn't Vungle working? Corona's took Google Ad ID out of their builds. It is required in all Android apps, as of Aug 1st 2014 (even if you think you don't use it). Vungle now needs to incorporate in our plugin to comply with Google.

 

Temporary Fix- include the Facebook plugin in your build.settings, which should cover the missing Google Ad ID (FB has already added it to theirs).

 

When will the Vungle plugin be updated? Soon, hopefully by 10/3.

 

Jordyn / Vungle



[TOPIC: post.html]
#24

Krivvenz

[GLOBAL: userInfoPane.html]
Krivvenz
  • Enthusiast

  • 44 posts
  • Corona SDK

Hi Vungle Staff,

                        Can you please advise what I can do to get this working? I'm using Corona Build 2393 but get the errors mentioned above. I only build games for Android on a Starter Corona account. When I try to include the Facebook plugin I get the following build error:

[Build Error #5]

A device build error occurred on the server.

 

Error: Get plugin failed

Plugin: facebook

 

This is what I've tried in my build settings:

 

plugins =
    {
        ["CoronaProvider.ads.vungle"] =
        {
            publisherId = "com.vungle",
        },
        
        ["facebook"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { android = true },
        },
        
        ["plugin.google.play.services"] =
        {
            publisherId = "com.coronalabs",
           -- supportedPlatforms = { android=true },
        },
    },   

 

I also tried:

 

["facebook"] =
{
publisherId = "com.coronalabs",
supportedPlatforms = { iphone = true, ["iphone-sim"] = true },
},

 

but my games are solely for Android... will the above actually resolve the error?

 

Many Thanks - and if you can confirm any of the above settings are correct it will no doubt help loads of other people.

 

Kind Regards,

 

Krivvenz.



[TOPIC: post.html]
#25

Krivvenz

[GLOBAL: userInfoPane.html]
Krivvenz
  • Enthusiast

  • 44 posts
  • Corona SDK

Actually I tried all the above settings and the error is still present :(.




[topic_controls]
Page 1 of 2 1 2
 
[/topic_controls]