且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

间质性添加是没有得到在机器人装

更新时间:2023-11-18 23:53:10

[问题的原因]

我不能给一个precise原因的问题,但是,在主线程中运行循环引入滞后,这就是为什么加不加载,因为超时如此之快,也没有理由房间吧,因为你有很多方法在该线程占用的工作,这也可能是白色的屏幕上3-4秒钟的原因。但除此之外,在加没有出现在一般可达大概可能是您的网络连接或.......

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 .......

让先生,忘了循环,检查此answer ,它西港岛线告诉你如何显示附加时,它的完成。loading - 它 onAdLoaded()被触发时, interstitial.isLoaded()是不是循环的这一切你留给互联网和谷歌的时候..剩下的真实,外接会出现,当它出现时,你可以添加断点知道它是如何下来

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