We have found that when doing testing of signed (and Proguard obfuscated) apps, Interstitials do not show on Emulators. We have a signed app with Proguard obfuscation as per the settings below and have
set. When this is run on an emulator, interstitials will not show. The first attempt to show an interstitial produces nothing on the emulator and generates the log cat messages as sown below. Subsequent attempts to display an interstitial report Ad already showing! It would appear that live ads display OK and live and test ads show ok on real devices.
# The following is required for Google Ad Mob
-keep public class com.google.android.gms.ads.** {
public *;
}
-keep public class com.google.ads.** {
public *;
}
-keep public class com.google.ads.mediation.** {
public *;
}
11-01 11:46:53.578: I/Ads(2220): Ad finished loading.
11-01 11:46:53.578: D/GoogleAdManager(2220): loadInterstitial: onAdLoaded
11-01 11:46:53.578: D/GoogleAdManager(2220): showInterstitial:
11-01 11:46:53.578: D/ActivityMahjong(2220): onPause:
11-01 11:46:53.578: I/ActivityManager(1211): START u0 {flg=0x80000 cmp=com.ta_dah_apps.shisen_sho_free/com.google.android.gms.ads.AdActivity (has extras)} from pid 2220
11-01 11:46:53.578: W/WindowManager(1211): Screenshot failure taking screenshot for (230x143) to layer 21015
11-01 11:46:53.608: W/Ads(2220): Could not get info for ad overlay.
11-01 11:46:53.608: D/ActivityMahjong(2220): onWindowFocusChanged:
11-01 11:46:53.618: D/ActivityMahjong(2220): onWindowFocusChanged:
11-01 11:46:53.618: W/InputMethodManagerService(1211): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@b129db68 attribute=null, token = android.os.BinderProxy@b1462250
11-01 11:46:53.638: D/ActivityMahjong(2220): onResume: