Delphi XE7 TBannerAd not showing ad on Android

断了今生、忘了曾经 提交于 2020-01-07 06:24:06

问题


I'm trying to test run some admob ads via the TBannerAd component in Delphi xe7, to see if it will work on ios and android.

Upon testing the ad seems to load on IOS but on Android nothing happens.

I've checked the manifest file and made sure it had the activity and meta data. I'm not sure what the issue is.

Could someone shed some light?


回答1:


Just checking the obvious - have you enabled the AdMob Service option on the entitlements page in the project options?

The entitlements page is new in Delphi XE7, so may not have been set up, and so won't pull in the required Google advertising library into the final binary. This will cause a lack of functionality, despite the manifest file looking fine.

See online documentation for more details.



来源:https://stackoverflow.com/questions/25701808/delphi-xe7-tbannerad-not-showing-ad-on-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!