Hello.
Ads are not showing up on device. Here are the facts as I know:
Corona Ads dashboard says that the ads are live.
Here is my build setting:
settings = { android = { versionCode = "9", usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.ACCESS\_FINE\_LOCATION", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.RECEIVE\_BOOT\_COMPLETED", }, applicationChildElements = { [[\<activity android:name="com.facebook.ads.InterstitialAdActivity" android:configChanges="keyboardHidden|orientation|screenSize"/\>]] }, }, usesFeatures = { { name="android.hardware.location.gps", required=false }, }, orientation = { default = "portrait", supported = { "portrait", "portraitUpsideDown" } }, plugins = { ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, ["shared.android.support.v4"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, ["plugin.coronaAds"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true, ["amazon-kindle"]=true, iphone=true } } }, }
I ran adb and here is what came out:
I/dalvikvm( 9242): Could not find method android.app.Activity.checkSelfPermission, referenced from method com.coronalabs.coronaads.CoronaAds.loadMobFoxBanner W/dalvikvm( 9242): VFY: unable to resolve virtual method 297: Landroid/app/Activity;.checkSelfPermission (Ljava/lang/String;)I D/dalvikvm( 9242): VFY: replacing opcode 0x6e at 0x0080 I/dalvikvm( 9242): Could not find method android.app.Activity.checkSelfPermission, referenced from method com.coronalabs.coronaads.CoronaAds.loadMobFoxInterstitial W/dalvikvm( 9242): VFY: unable to resolve virtual method 297: Landroid/app/Activity;.checkSelfPermission (Ljava/lang/String;)I D/dalvikvm( 9242): VFY: replacing opcode 0x6e at 0x0026 I/dalvikvm( 9242): Could not find method android.content.Context.checkSelfPermission, referenced from method com.coronalabs.coronaads.DeviceInfo.\<init\> W/dalvikvm( 9242): VFY: unable to resolve virtual method 498: Landroid/content/Context;.checkSelfPermission (Ljava/lang/String;)I D/dalvikvm( 9242): VFY: replacing opcode 0x6e at 0x0094 D/LocationManagerService( 839): request 42a75550 network Request[POWER\_LOW network requested=0 fastest=0] from com.peaceoutgames.stayzen(10173) D/LocationManagerService( 839): provider request: network ProviderRequest[ON interval=0] V/GmsNetworkLocationProvi( 1467): onSetRequest: ProviderRequestUnbundled, reportLocation is true and interval is 0 V/GmsNetworkLocationProvi( 1467): SET-REQUEST V/GmsNetworkLocationProvi( 1467): in Handler: ProviderRequestUnbundled, reportLocation is true and interval is 20000 D/LocationManagerService( 839): getLastLocation: Request[POWER\_LOW network requested=0 fastest=0 num=1]
To me this looks like a permission issue but I’m not sure how to resolve it. Any help would be greatly appreciated.