java.lang.SecurityException

Permission Denial: not allowed to send broadcast android.intent.action.MEDIA_ MOUNTED from pid=8646, uid=10102

Samebug tips5

Android SDK 23 introduced a new way to handle permissions, so as a temporary workaround you can set it to build for SDK below 23. As a permanent solution you have to ask user during runtime for permissions with checkSelfPermission() or requestPermissions()

You need the permission android.permission.READ_EXTERNAL_STORAGE. Write <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> on the Android Manifest

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3346

  • via Google Groups by Unknown author, 6 months ago
    Permission Denial: not allowed to send broadcast android.intent.action.MEDIA_ MOUNTED from pid=8646, uid=10102
  • via Google Groups by Andreas Liebig, 6 months ago
    Permission Denial: not allowed to send broadcast android.intent.action.MEDIA_MOUNTED from pid=8646, uid=10102
  • Permission Denial: not allowed to send broadcast android.intent.action.MEDIA_MOUNTED from pid=11263, uid=10739
  • Stack trace

    • java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.MEDIA_ MOUNTED from pid=8646, uid=10102 at android.os.Parcel.readException(Parcel.java:1465) at android.os.Parcel.readException(Parcel.java:1419) at android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:2373) at android.app.ContextImpl.sendBroadcast(ContextImpl.java:1127) at android.content.ContextWrapper.sendBroadcast(ContextWrapper.java:365) at lutey.FTPServer.service.g.b(FTPConnectionHandler.java:209) at lutey.FTPServer.service.g.a(FTPConnectionHandler.java:162) at lutey.FTPServer.service.g.run(FTPConnectionHandler.java:102)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    232 more bugmates