mkorman9 / admob-openfl

Google AdMob extension for OpenFL
MIT License
48 stars 12 forks source link

Can't get it work on Android #11

Closed ericguo closed 10 years ago

ericguo commented 10 years ago

Hi there,

The extension works great on iOS. Now I try to publish it on Android. Since Openfl 1.4 has some Lib.hx issue (saw in another thread) and crashed my game every time the ad initialisation was called , I have to build it with Openfl 1.3. The game looks fine however no ad show up at all.

Btw, I tested it on a device with clean Android 2.3.5 without Google Play store. Most of Android devices here China don't have Google Play services installed. I think Admob should works on these devies without issues.

Here is part of log: 04-26 16:04:29.699: E/GooglePlayServicesUtil(6759): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. 04-26 16:04:29.709: W/GooglePlayServicesUtil(6759): Google Play services is missing. 04-26 16:04:29.989: I/Ads(6759): Starting ad request. 04-26 16:04:30.489: W/Ads(6759): There was a problem getting an ad response. ErrorCode: 2 04-26 16:04:30.489: I/Ads(6759): Scheduling ad refresh 60000 milliseconds from now. 04-26 16:04:30.489: W/Ads(6759): Failed to load ad: 2

ericguo commented 10 years ago

Please ignore it. I tried another device and works great.