SecurityException: Unable to start Activity.

1,697 views
Skip to first unread message

itzno...@gmail.com

unread,
Jul 7, 2022, 2:51:28 PM7/7/22
to Google Mobile Ads SDK Developers
This particular crash includes only MxPlayer's intent.
Haven't seen any other crash like this with any other package name.

Stacktrace:
1. Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.app.package/com.google.android.gms.ads.AdActivity}: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.VIEW dat=https://adclick.g.doubleclick.net/... flg=0x10000000 cmp=com.mxtech.videoplayer.ad/com.mxtech.videoplayer.ActivityWebBrowser } from ProcessRecord{3415ee8 17022:com.app.package/u0a591} (pid=17022, uid=10591) not exported from uid 10643
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4035)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4201)
       at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
       at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2438)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8663)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

2. Caused by java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.VIEW dat=https://adclick.g.doubleclick.net/... flg=0x10000000 cmp=com.mxtech.videoplayer.ad/com.mxtech.videoplayer.ActivityWebBrowser } from ProcessRecord{3415ee8 17022:com.app.package/u0a591} (pid=17022, uid=10591) not exported from uid 10643
       at android.os.Parcel.createExceptionOrNull(Parcel.java:2437)
       at android.os.Parcel.createException(Parcel.java:2421)
       at android.os.Parcel.readException(Parcel.java:2404)
       at android.os.Parcel.readException(Parcel.java:2346)
       at android.app.IActivityTaskManager$Stub$Proxy.startActivity(IActivityTaskManager.java:2897)
       at android.app.Instrumentation.execStartActivity(Instrumentation.java:1743)
       at android.app.Activity.startActivityForResult(Activity.java:5473)
       at android.app.Activity.startActivityForResult(Activity.java:5431)
       at android.app.Activity.startActivity(Activity.java:5817)
       at android.app.Activity.startActivity(Activity.java:5770)
       at com.google.android.gms.ads.internal.util.q.H(q.java:2)
       at com.google.android.gms.ads.internal.overlay.a.a(a.java:3)
       at com.google.android.gms.ads.internal.overlay.a.b(a.java:17)
       at com.google.android.gms.ads.internal.overlay.t.d(t.java:8)
       at com.google.android.gms.ads.internal.overlay.client.a.bO(a.java:23)
       at adz.onTransact(adz.java:4)
       at android.os.Binder.transact(Binder.java:1100)
       at com.google.android.gms.internal.ads.zzaqv.zzbl(com.google.android.gms:play-services-ads-base@@21.0.0:2)
       at com.google.android.gms.internal.ads.zzbxs.zzk(com.google.android.gms:play-services-ads-lite@@21.0.0:3)
       at com.google.android.gms.ads.AdActivity.onCreate(com.google.android.gms:play-services-ads-lite@@21.0.0:3)
       at android.app.Activity.performCreate(Activity.java:8290)
       at android.app.Activity.performCreate(Activity.java:8270)
       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4009)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4201)
       at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
       at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2438)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8663)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

Mobile Ads SDK Forum Advisor

unread,
Jul 7, 2022, 11:50:44 PM7/7/22
to itzno...@gmail.com, google-adm...@googlegroups.com
Hi DarShan,

For us to check this further, could you please provide the following?
  • SDK Version
  • Affected devices
  • Full stack trace of the ANR
  • Percentage occurrence of the ANR
Also, is the crash reliably reproducible? If so, could you please provide a test project privately?

Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 

 

ref:_00D1U1174p._5004Q2cThIp:ref

itzno...@gmail.com

unread,
Jul 8, 2022, 2:28:18 AM7/8/22
to Google Mobile Ads SDK Developers
SDK version is included in the stacktrace: 21.0.0
Affected devices: Samsung, as always.
Full stack trace of the ANR: RuntimeException | SecurityException are not ANRs, those are crashes & that's the information logged by Crashlytics.
Percentage: around 15% of the total user base & increasing
Reproducible: No.

itzno...@gmail.com

unread,
Jul 9, 2022, 1:47:05 AM7/9/22
to Google Mobile Ads SDK Developers
Another but with a different package-name :

Fatal Exception: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.VIEW dat=https://adssettings.google.com/... flg=0x10000000 cmp=team.opay.pay.merchant.service/com.opay.webview.WebFoundationActivity } from ProcessRecord{cfcea25 22334:com.app.package/u0a9} (pid=22334, uid=10009) not exported from uid 10224
       at android.os.Parcel.createExceptionOrNull(Parcel.java:2385)
       at android.os.Parcel.createException(Parcel.java:2369)
       at android.os.Parcel.readException(Parcel.java:2352)
       at android.os.Parcel.readException(Parcel.java:2294)
       at android.app.IActivityTaskManager$Stub$Proxy.startActivity(IActivityTaskManager.java:4276)
       at android.app.Instrumentation.execStartActivity(Instrumentation.java:1723)
       at android.app.Activity.startActivityForResult(Activity.java:5377)
       at android.app.Activity.startActivityForResult(Activity.java:5335)
       at android.app.Activity.startActivity(Activity.java:5721)
       at android.app.Activity.startActivity(Activity.java:5674)
       at com.google.android.gms.ads.internal.webview.aw.startActivity(aw.java:1)

       at com.google.android.gms.ads.internal.util.q.H(q.java:2)
       at com.google.android.gms.ads.internal.overlay.a.a(a.java:3)
       at com.google.android.gms.ads.internal.overlay.a.b(a.java:17)
       at com.google.android.gms.ads.internal.overlay.l.a(l.java:12)
       at com.google.android.gms.ads.internal.webview.q.l(q.java:3)
       at com.google.android.gms.ads.internal.webview.q.k(q.java:3)
       at com.google.android.gms.ads.internal.webview.q.shouldOverrideUrlLoading(q.java:12)
       at android.webkit.WebViewClient.shouldOverrideUrlLoading(WebViewClient.java:83)
       at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading(AwContentsClientBridge.java:46)
       at J.N.MlAm1rvf(N.java)
       at org.chromium.android_webview.AwContents.B(AwContents.java:289)
       at com.android.webview.chromium.WebViewChromium.c(WebViewChromium.java:269)
       at com.android.webview.chromium.c1.handleMessage(c1.java:133)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:246)
       at android.app.ActivityThread.main(ActivityThread.java:8653)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)

Mobile Ads SDK Forum Advisor

unread,
Jul 11, 2022, 1:39:22 AM7/11/22
to itzno...@gmail.com, google-adm...@googlegroups.com
Hi DarShan,

Thank you for getting back to us and raising another ANR. However, I'm afraid we'll need a detailed debug information where the issue is observed in order to actually make any progress in diagnosing this. The only way for us to investigate further is through a project file that reproducing the issue, as this will enable us to replicate the behavior in our test app environment. 

itzno...@gmail.com

unread,
Jul 11, 2022, 2:40:21 AM7/11/22
to Google Mobile Ads SDK Developers
This crashes are reported by Crashlytics & currently I cannot reproduce them.
The provided stacktrace should be enough for a diagnosis as it contains enough information.

Mobile Ads SDK Forum Advisor

unread,
Jul 11, 2022, 11:04:26 AM7/11/22
to itzno...@gmail.com, google-adm...@googlegroups.com

Hi DarShan,

Before we share this to the rest of the team, kindly provide us the previously requested information below.

  • SDK Version
  • Affected devices
  • Percentage occurrence of the ANR

    Regards,

    Google Logo
    Princess Pamela
    Mobile Ads SDK Team
     


    ref:_00D1U1174p._5004Q2cThIp:ref

    itzno...@gmail.com

    unread,
    Jul 17, 2022, 5:16:58 AM7/17/22
    to Google Mobile Ads SDK Developers
    I've already added that info in the previous messages, but here you go:
    Sdk: 21.0.0
    Affected devices: Samsung

    Mobile Ads SDK Forum Advisor

    unread,
    Jul 18, 2022, 2:12:20 AM7/18/22
    to itzno...@gmail.com, google-adm...@googlegroups.com
    Hi Darshan,

    Thank you for providing all requested details. I've raised this to the rest of the team for further investigation. I'll update you the soonest they share their feedback.

    Regards,
    Google Logo
    Teejay Wennie
    Mobile Ads SDK Team
     


    ref:_00D1U1174p._5004Q2cThIp:ref

    itzno...@gmail.com

    unread,
    Sep 7, 2022, 2:46:37 AM9/7/22
    to Google Mobile Ads SDK Developers
    Any updates on this?
    Crash velocity increasing day by day on Samsung devices.

    Mobile Ads SDK Forum Advisor

    unread,
    Sep 7, 2022, 5:41:53 AM9/7/22
    to itzno...@gmail.com, google-adm...@googlegroups.com

    Hi,

    Thank you for patiently waiting.

    I've followed up this to the team as they are still investigating this. We will update you as soon as we have an update from them.

    Regards,

    Google Logo
    Princess Pamela
    Mobile Ads SDK Team
     


    ref:_00D1U1174p._5004Q2cThIp:ref
    Message has been deleted

    赖ceaswing

    unread,
    Sep 26, 2022, 11:32:00 PM9/26/22
    to Google Mobile Ads SDK Developers
    Fatal Exception: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.VIEW dat=https://adclick.g.doubleclick.net/... flg=0x10000000 cmp=com.casttv.castforchromecast.screencast/com.thntech.cast68.screen.tab.webcast.WebCastActivity } from ProcessRecord{1ed9f7a 1899:com.xxx.xxx/u0a272} (pid=1899, uid=10272) not exported from uid 10291
           at android.os.Parcel.createException(Parcel.java:2074)
           at android.os.Parcel.readException(Parcel.java:2042)
           at android.os.Parcel.readException(Parcel.java:1990)
           at android.app.IActivityTaskManager$Stub$Proxy.startActivity(IActivityTaskManager.java:3973)
           at android.app.Instrumentation.execStartActivity(Instrumentation.java:1716)
           at android.app.Activity.startActivityForResult(Activity.java:5258)
           at android.app.Activity.startActivityForResult(Activity.java:5216)
           at android.app.Activity.startActivity(Activity.java:5587)
           at android.app.Activity.startActivity(Activity.java:5555)

           at com.google.android.gms.ads.internal.webview.aw.startActivity(aw.java:1)
           at com.google.android.gms.ads.internal.util.q.H(q.java:2)
           at com.google.android.gms.ads.internal.overlay.a.a(a.java:3)
           at com.google.android.gms.ads.internal.overlay.a.b(a.java:3)

           at com.google.android.gms.ads.internal.overlay.l.a(l.java:12)
           at com.google.android.gms.ads.internal.webview.q.l(q.java:3)
           at com.google.android.gms.ads.internal.webview.q.k(q.java:3)
           at com.google.android.gms.ads.internal.webview.ac.aA(ac.java)
           at com.google.android.gms.ads.internal.webview.y.aA(y.java)
           at com.google.android.gms.ads.internal.gmsg.aq.h(aq.java:24)
           at com.google.android.gms.ads.internal.gmsg.aq.e(aq.java:72)
           at com.google.android.gms.ads.internal.gmsg.aq.a(aq.java)
           at com.google.android.gms.ads.internal.webview.q.A(q.java:4)
           at com.google.android.gms.ads.internal.webview.q.e(q.java:8)
           at com.google.android.gms.ads.internal.webview.q.shouldOverrideUrlLoading(q.java:19)

           at android.webkit.WebViewClient.shouldOverrideUrlLoading(WebViewClient.java:83)
           at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading(AwContentsClientBridge.java:46)
           at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
           at android.os.MessageQueue.next(MessageQueue.java:336)
           at android.os.Looper.loop(Looper.java:181)
           at android.app.ActivityThread.main(ActivityThread.java:7562)
           at java.lang.reflect.Method.invoke(Method.java)
           at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)

    ——————————————————————————————————
    This crash was reported in Firebase, which may be caused by double-clicking the AD in AdActivity. Please fix it.

    Mobile Ads SDK Forum Advisor

    unread,
    Sep 27, 2022, 3:39:49 AM9/27/22
    to ceasw...@gmail.com, google-adm...@googlegroups.com

    Hi,

    Thank you for reaching out to us.

    I've shared this to the rest of the team as additional information to their investigation. Currently, they are in progress of the investigation on this error. We will update this thread once we have more information.

    Mobile Ads SDK Forum Advisor

    unread,
    Feb 3, 2023, 5:45:50 AM2/3/23
    to ceasw...@gmail.com, google-adm...@googlegroups.com
    Hello,

    I hope you're safe and doing fine. 

    I just want to circle back on this thread. The issue that was reported here has been fixed. Feel free to reach back to us if you still encounter the same issue while using the latest version of the SDK.

    Regards,
    Google Logo
    Zoilo Isagani
    Mobile Ads SDK Team
     


    ref:_00D1U1174p._5004Q2cThIp:ref

    Raunak Yadav

    unread,
    Feb 14, 2023, 12:32:14 AM2/14/23
    to Google Mobile Ads SDK Developers
    Hello Team,

    We too are facing this issue in production. (Google ad manager sdk v20.4.0). 
    Could you let us know which version has the fix been added to? Can't find in the changelogs.

    Thanks,

    Moza Air

    unread,
    Feb 14, 2023, 2:06:33 AM2/14/23
    to Raunak Yadav, Google Mobile Ads SDK Developers
    I want sex.  Video call sex

    DISCLAIMER:

    Please note that this message and any attachments may contain confidential and proprietary material and information and are intended only for the use of the intended recipient(s). If you are not the intended recipient, you are hereby notified that any review, use, disclosure, dissemination, distribution or copying of this message and any attachments is strictly prohibited. If you have received this email in error, please immediately notify the sender and delete this e-mail , whether electronic or printed. Please also note that any views, opinions, conclusions or commitments expressed in this message are those of the individual sender and do not necessarily reflect the views of Ver sé Innovation Pvt Ltd.

    --

    ---
    You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/2ff664ba-d7a4-4528-9bad-dfd140f4cb1dn%40googlegroups.com.

    Mobile Ads SDK Forum Advisor

    unread,
    Feb 14, 2023, 5:56:05 AM2/14/23
    to raunak...@verse.in, google-adm...@googlegroups.com
    Hi Raunak,

    The fix is in the latest SDK release v21.5.0. You may download it here.

    Regards,
    Google Logo
    Teejay Wennie
    Mobile Ads SDK Team
     


    ref:_00D1U1174p._5004Q2cThIp:ref
    Reply all
    Reply to author
    Forward
    0 new messages