尝试请求广告时出现乱码错误(禁用数据库访问)

时间:2012-11-15 20:23:48

标签: android flurry

在我第一次在Android上进行整合时遇到了困难。这是我用来连接文档的代码:

FlurryAgent.setLogEnabled(true); 
FlurryAgent.setLogLevel(Log.VERBOSE);
FlurryAgent.onStartSession(this,"GJTCVGM4XG7PSHSZZTDM");
FlurryAgent.initializeAds(this);
FlurryAgent.enableTestAds(true);


// The following method call will asynchronously
// render a banner in the provided ViewGroup:
FrameLayout fViewGroup= (FrameLayout)findViewById(R.id.bannerframe) ;
FlurryAgent.getAd(this, "Bottom Banner", fViewGroup,
                                FlurryAdSize.BANNER_BOTTOM, 0);

这产生以下日志:

11-15 21:14:22.380: D/FlurryAgent(2473): Initializing Flurry session
11-15 21:14:22.380: D/FlurryAgent(2473): New session
11-15 21:14:22.390: D/FlurryAgent(2473): Initializing Flurry Ads
11-15 21:14:22.390: D/FlurryAgent(2473): Flurry Ads initialized
11-15 21:14:22.400: I/FlurryAgent(2473): Init'ing ads.
11-15 21:14:22.400: W/FlurryAgent(2473): Cannot identify UDID.
11-15 21:14:22.400: W/Settings(2473): Setting android_id has moved from     android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
11-15 21:14:22.400: I/FlurryAgent(2473): loading persistent data: /data/data   /com.fosfore.flurryintegration/files/.flurryagent.45cf4771
11-15 21:14:22.400: D/FlurryAgent(2473): Loading API key: ****************ZTDM
11-15 21:14:22.400: D/FlurryAgent(2473): Loading session reports
11-15 21:14:22.400: D/FlurryAgent(2473): Persistent file loaded
11-15 21:14:22.400: D/FlurryAgent(2473): generating report
11-15 21:14:22.400: D/FlurryAgent(2473): Sending report to: http://data.flurry.com/aap.do
11-15 21:14:22.910: D/FlurryAgent(2473): Report successful
11-15 21:14:22.960: I/FlurryAgent(2473): Request successful
11-15 21:14:22.980: E/FlurryAgent(2473): Ad request returned errors: 
11-15 21:14:22.980: E/FlurryAgent(2473): Internal Error: java.lang.RuntimeException: Database access disabled
11-15 21:14:24.440: I/FlurryAgent(2473): Request successful
11-15 21:14:24.440: W/FlurryAgent(2473): Ad request successful but server delivered no ad units.

有谁能猜出什么是hapenning?我有一个正确名称的广告空间设置。

Pd积。使用FlurryAgent.isAdAvailable它总是说没有任何广告可用。我的广告空间是活跃的,我还要做其他事情才能开始接收广告吗?我目前没有使用任何调解。

提前谢谢。

0 个答案:

没有答案