Reputation: 3
I'm building an android application that uses flurry sdk.
I have in my activity the following code:
protected void onStart() {
super.onStart();
FlurryAgent.setVersionName("1.0");
FlurryAgent.onStartSession(this, "XXXXXXXX");
FlurryAgent.setLogEnabled(true);
FlurryAgent.setLogEvents(true);
FlurryAgent.setLogLevel(Log.VERBOSE);
FlurryAgent.initializeAds(this);
FrameLayout fViewGroup = (FrameLayout) findViewById(R.id.flurry);
FlurryAgent.getAd(this, "BANNERNAME", fViewGroup, FlurryAdSize.BANNER_TOP,0);
}
public void onStop()
{
super.onStop();
FlurryAgent.onEndSession(this);
}
So here are my two questions:
Note: I've done what is said in this post “Ad server responded but sent no ad units” in Flurry in android and still neither testads are showing up.
Thanks!
Upvotes: 0
Views: 1109
Reputation: 1579
On your first question, this exception should not be thrown in Android 2.3 or above. Flurry has a fix in the works for this issue, and should be releasing it soon. On your second question, could you try removing the call to FlurryAgent.initializeAds(FlurrytestActivity.this);? This call should only be necessary if ad pre-caching is enabled in the ad space settings.
(Full disclosure: I work in the Support team at Flurry)
Upvotes: 1