applovin.load doesn't seem to work on android

Hi guys.

I’m having a lot of trouble with applovin on android, and I’m not sure what’s going on.

I am using “applovin.init” with a listener attached. The listener confirms that the plugin has initialised. 

When I then call applovin.load(); or applovin.load(true), nothing happens. No loaded ad and nothing comeback into the listener.

This problem is only on android, the same code works perfectly on iOS.

Thanks!

Rob,

That’s quite strange. I just tested on a Nexus 7 (Android 5.1.1) and both incentivized and non-incentivized videos load and show properly.

Do you by any chance see anything in the device log?

No, nothing comes through. Very strange. Using the latest daily build btw, forgot to say :confused:

I’m going to have another look again tomorrow.

I still can’t seem to get this to work. Nothing returns in the ad listener for applovin.load();

Not sure what else we can try

I just did a build with the demo app too and that also failed to load an advert.

(https://github.com/coronalabs/plugins-sample-applovin)

@Rob

Does the sample code work for you when running on iOS?

I haven’t actually tried the sample  code on iOS, as my code works perfectly :smiley:

Could it be something in my AppLovin account?

I tested now with the same sample app. Ads are loading.

If you’d like you can PM me your apiKey. I can test it from here to see if it works.

Thanks, sent :slight_smile:

@Rob

I don’t know of this is good or bad news…

Your apiKey works when I use it in the sample app here  :unsure:

When you compile the sample app I assume you select “Google Play” as the Target App Store in the build dialog?

Yeah, perhaps it’s both my testing devices… I’ve tested other ads with ads and they work.

I’ll try get my hands on another device. If that’s the issue, I think I’ll throw them both in the sea.

…or donate them to Samsung. They might need a few devices to replace their S7’s that catch fire  :ph34r:

Same problem here (using build 2016.29492016.2949).  Any update on this?

Sorry. No update as we can’t reproduce the issue.
I’m starting to suspect this might be regional issue, but that’s just a theory…

A bit late to the party, but I’ve got the same problem here aswell.

I’m building on 2949 and have the problem since I switched from 2828.

The first ad loaded with init works fine

if event.phase == "init" then     if event.isError then         print("An appLovin error has occured")     else         print("Loading an appLovin ad")         self:loadAd()     end end

function applovinManager:loadAd ()     print("Try to load ad")     applovin.load() end

However, any subsequent load seems to fail as no ad shows up.

I’m launching the loading in the “displayed” event in the listener I put in the init call.

Edit : Forgot to say I’m building for iOS

@corona4182

This looks like a different issue than the OP has.

I think your issue may be timing related. Try moving the loading to the “hidden” / “playbackEnded” event instead of the “displayed” event.

That’s quite strange. I just tested on a Nexus 7 (Android 5.1.1) and both incentivized and non-incentivized videos load and show properly.

Do you by any chance see anything in the device log?

No, nothing comes through. Very strange. Using the latest daily build btw, forgot to say :confused:

I’m going to have another look again tomorrow.

I still can’t seem to get this to work. Nothing returns in the ad listener for applovin.load();

Not sure what else we can try