android - 错误/ZestADZAdView SDK(30873) : Caught IOException in fetchConfig() when integrate Zest with adwhirl in android

标签 android ads adwhirl zest

我在使用 Zest (Komli) AdNw 和 Adwhirl 时没有收到任何广告 并且代码触发了这个异常.. 谁能告诉我为什么??

像任何 adNw 一样..我只是将 SDK 放入应用程序..声明需要的权限..然后请求广告.. 它适用于 Admob ..

    LinearLayout adLayout = (LinearLayout) findViewById(R.id.ads);
        AdWhirlLayout adWhirlLayout = new AdWhirlLayout(this, "Key");
        RelativeLayout.LayoutParams adWhirlLayoutParams = new RelativeLayout.LayoutParams(LayoutParams.FILL_PARENT,
        LayoutParams.WRAP_CONTENT);
        adLayout.addView(adWhirlLayout, adWhirlLayoutParams);
//        AdWhirlTargeting.setTestMode(true);
        adLayout.invalidate();

最佳答案

此问题发生在源中 here ,方法中的某处只是试图获取配置并将响应 json 转换为字符串。在 AdWhirl 中配置您的 ID 似乎存在问题。试试看

http://mob.adwhirl.com/getInfo.php?appver=311&appid=YOUR_APP_KEY

并将 YOUR_APP_KEY 替换为您的实际应用 key 。看看您是否在响应中发现了异常之处。

关于android - 错误/ZestADZAdView SDK(30873) : Caught IOException in fetchConfig() when integrate Zest with adwhirl in android,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8881513/

相关文章:

android - 2013 年 1 月 - Admob 和 AdWhirl?

android - Adwhirl 不显示来自 ad mob 的广告,同时它显示自家广告

android - 如何在Android站点的 "Managing the Activity Lifecycle"训练练习中设置项目?

sql - 类似于记事本教程 :CursorIndexOutOfBoundsException: Index 0 requested, 的应用程序上的 Android SQL 问题,大小为 0

javascript - 如何在小屏幕上隐藏广告

android - 带广告 : It is not recommended to show an interstitial when app is not in foreground

android - OnClick 抑制下面的 OnTouch

android - VScode : avdmanager is missing from the Android SDK

android - Admob wide_skyscraper AdSize 支持吗?

android - AdWhirl 在关闭网络后导致 java.lang.NullPointerException