mobclix

How to fix the warning: view is not in the window hierarchy

别来无恙 提交于 2019-12-31 07:53:05
问题 I'm using the standard setup procedure for Mobclix in an iOS app and I'm calling the requestAndDisplayAdFromViewController: method from within viewWillAppear: - (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; [fullScreenAdViewController requestAndDisplayAdFromViewController:self]; } here's the warning I'm getting: Warning: Attempt to present <MobclixFullScreenAdViewController: 0x14f2c0> on <EditGameViewController: 0x1838d0> whose view is not in the window hierarchy! I

Mobclix Ads not showing in android

拈花ヽ惹草 提交于 2019-12-22 09:46:59
问题 I read the official docs and tried to integrate MobClix Ads in my App but I am not getting any Ads. AdMobActivity.java import com.mobclix.android.sdk.MobclixMMABannerXLAdView; import android.app.Activity; import android.os.Bundle; public class MobclixDemo extends Activity { private MobclixMMABannerXLAdView adview_banner=null; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); adview_banner = (MobclixMMABannerXLAdView)

Mobclix and Proguard

不打扰是莪最后的温柔 提交于 2019-12-11 17:42:41
问题 I'm trying to use Proguard to obfuscate my code. I use Mobclix for advertisements, and when I build my APK it's spitting out an error: org.eclipse.core.runtime.CoreException: Proguard returned with error code 1. See console at com.android.ide.eclipse.adt.internal.project.ExportHelper.exportReleaseApk(ExportHelper.java:228) at com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard.doExport(ExportWizard.java:290) at com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard

Mobclix Ads not showing in android

拈花ヽ惹草 提交于 2019-12-05 19:53:59
I read the official docs and tried to integrate MobClix Ads in my App but I am not getting any Ads. AdMobActivity.java import com.mobclix.android.sdk.MobclixMMABannerXLAdView; import android.app.Activity; import android.os.Bundle; public class MobclixDemo extends Activity { private MobclixMMABannerXLAdView adview_banner=null; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); adview_banner = (MobclixMMABannerXLAdView) findViewById(R.id.banner_adview); adview_banner.getAd(); } } also i have added MobClix adView in XML

How to fix the warning: view is not in the window hierarchy

风流意气都作罢 提交于 2019-12-02 13:12:40
I'm using the standard setup procedure for Mobclix in an iOS app and I'm calling the requestAndDisplayAdFromViewController: method from within viewWillAppear: - (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; [fullScreenAdViewController requestAndDisplayAdFromViewController:self]; } here's the warning I'm getting: Warning: Attempt to present <MobclixFullScreenAdViewController: 0x14f2c0> on <EditGameViewController: 0x1838d0> whose view is not in the window hierarchy! I hope that's enough to go on. thanks for any help. You're calling it from viewWillAppear - at this point,