java.lang.RuntimeException: Unable to start activity ComponentInfo{com.digital.development.myapp/com.digital.development.myapp.Activity.SwapContacts}: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from ProcessRecord{b5f7da5 1364:com.digital.development.myapp/u0a162} (pid=1364, uid=10162) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by We are Borg
, 1 year ago
Unable to start activity ComponentInfo{com.digital.development.myapp/com.digital.development.myapp.Activity.SwapContacts}: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from
via Stack Overflow by Solution Republic
, 2 years ago
Unable to start activity ComponentInfo{com.sr.phonecontactslist/com.sr.phonecontactslist.MainActivity}: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from ProcessRecord{15540fd 5272:com.sr.phonecontactslist/u0a59} (pid=5272, uid=10059) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS
via intel.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.blundell.contactscrash/com.blundell.contactscrash.MainActivity}: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from ProcessRecord{cbb85e8
via GitHub by Valodim
, 1 year ago
Unable to start activity ComponentInfo{org.sufficientlysecure.keychain/org.sufficientlysecure.keychain.ui.ImportKeysActivity}: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from
via Stack Overflow by umair khan
, 1 year ago
Unable to start activity ComponentInfo{com.example.umairkhan.test1/com.example.umairkhan.test1.MainActivity}: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from ProcessRecord
via Stack Overflow by Jra
, 1 year ago
Unable to start activity ComponentInfo{com.example.pc.contentprovider/com.example.pc.contentprovider.ContactsActivity}: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.digital.development.myapp/com.digital.development.myapp.Activity.SwapContacts}: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from ProcessRecord{b5f7da5 1364:com.digital.development.myapp/u0a162} (pid=1364, uid=10162) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Users with the same issue

152 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
8 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
50 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.