java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.srishti.myapplication/com.example.srishti.myapplication.MainActivity}: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/audio/media from pid=13312, uid=10146 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

Stack Overflow | Srishti Gupta | 2 months ago
  1. 0

    while running the application suddenly application has stopped and while debugging the application got the following error

    Stack Overflow | 2 months ago | Srishti Gupta
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.srishti.myapplication/com.example.srishti.myapplication.MainActivity}: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/audio/media from pid=13312, uid=10146 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
  2. 0

    cal日历报错_小米手机4_MIUI论坛

    miui.com | 8 months ago
    java.lang.RuntimeException: An error occured while executing doInBackground()
  3. 0

    [invites] Invite button click crashes Google Play services with missing permission for android.permission.READ_CONTACTS

    GitHub | 6 months ago | friedger
    java.lang.RuntimeException: Unable to resume activity {com.google.android.gms/com.google.android.gms.appinvite.AppInviteActivity}: java.lang.SecurityException: Permission Denial: reading com.android.providers.contacts.ContactsProvider2 uri content://com.android.contacts/contacts from pid=27333, uid=10013 requires android.permission.READ_CONTACTS, or grantUriPermission()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Fatal exception error

    Stack Overflow | 2 years ago | user2850116
    java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/audio/media from pid=1071, uid=10066 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
  6. 0

    java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media/40763 from pid=18326, uid=10114 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

    GitHub | 2 years ago | agwells
    java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media/40763 from pid=18326, uid=10114 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

  1. Alexandru Popa 2 times, last 2 weeks ago
  2. malhobayyeb 16 times, last 1 week ago
  3. Aria Pahlavan 162 times, last 1 week ago
  4. iridic 2 times, last 3 weeks ago
  5. VeryRedChris 1 times, last 3 weeks ago
38 more registered users
20 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.SecurityException

    Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/audio/media from pid=13312, uid=10146 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

    at android.os.Parcel.readException()
  2. Android Platform
    ContentResolver.query
    1. android.os.Parcel.readException(Parcel.java:1620)
    2. android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
    3. android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
    4. android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
    5. android.content.ContentResolver.query(ContentResolver.java:493)
    6. android.content.ContentResolver.query(ContentResolver.java:435)
    6 frames
  3. com.example.srishti
    MainActivity.onCreate
    1. com.example.srishti.myapplication.MainActivity.getSongList(MainActivity.java:142)
    2. com.example.srishti.myapplication.MainActivity.onCreate(MainActivity.java:58)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6303)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2376)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2483)
    5. android.app.ActivityThread.access$900(ActivityThread.java:153)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1349)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:148)
    9. android.app.ActivityThread.main(ActivityThread.java:5438)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
    2 frames