简体   繁体   中英

Delphi XE7 TBannerAd not showing ad on Android

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM