Interstitial Add Is Not Getting Loaded In Android
Solution 1:
[The cause of the problem]
i can't give a precise reason to the problem, but, Running loops on the main thread introduces lags, and that is the reason why the add is not loading because it times out so fast and there is no room for it,cause you got alot of process hogging work on that thread, that might also be the reason for the white screen for 3-4 seconds .. but aside from that, the add not showing up in general probably might be your internet connection or .......
so Sir, forget about the loop, check this answer , it wil show you how to show the add when it's done loading - it has onAdLoaded()
which is triggered when interstitial.isLoaded()
is true, instead of looping for it all the time.. and the rest you leave it to internet and google, the add will show up when it shows up, you can add breakpoint to know how it gets down
Post a Comment for "Interstitial Add Is Not Getting Loaded In Android"