I've just added in attachment the report file with statistics. In the latest day we got like 16k (daily) crash caused by this bug and we're SURE that this is AdMob SDK's fault because we enabled it on friday, the day that app started to crash.Full bug info:
0 android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
1 at android.app.ContextImpl.startActivity(ContextImpl.java:947)
2 at android.content.ContextWrapper.startActivity(ContextWrapper.java:283)
3 at android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:278)
4 at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:381)
5 at android.os.Handler.dispatchMessage(Handler.java:99)
6 at android.os.Looper.loop(Looper.java:137)
7 at android.app.ActivityThread.main(ActivityThread.java:4517)
8 at java.lang.reflect.Method.invokeNative(Native Method)
9 at java.lang.reflect.Method.invoke(Method.java:511)
10 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)
11 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
12 at dalvik.system.NativeStart.main(Native Method)
Statistics:- it crash on all android os versions (if you want I can upload the pie graph from crittercism)- we're actually using GoogleAdMobAdsSdk-6.2.1.jar and libGoogleAnalyticsV2.jarIf you need more information please answer to this post.Cheers, Emanuele.
--
--
--
We always use Activity context (in order to let the the ad die when the activity die)
As I already said these crash are not coming when AdMob is disabled on mopub and they all comes when I re-enabled it from mopub.
Mopub don't have a custom implementation of admob, it's only calling the native SDK of admob that I've in my libs folder.
This crash was happining also when we was using admob directly some release ago.
I have the same issues.I'm using Admob SDK 6.2.1 and my activity launches on "singleTask" mode.I never seen it on my devices but it shows up frequently on my error reports.I use it like this :AdView admobView = new AdView(parent, AdSize.SMART_BANNER, admobAuID);parentView.addView(admobView);
2012년 12월 18일 화요일 오전 2시 59분 37초 UTC+9, Eric Leichtenschlag 님의 말: