java.lang.SecurityException: Permission Denial: opening provider com.android.browser.provider.BrowserProvider2 from ProcessRecord{f90b843 2798:org.cade.codigos/u0a57} (pid=2798, uid=10057) requires com.android.browser.permission.READ_HISTORY_BOOKMARKS or com.android.browser.permission.WRITE_HISTORY_BOOKMARKS

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

,
Expert tip

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

,
Expert tip

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()

Solutions on the web

via Stack Overflow by AlanRubinoff
, 9 months ago
Permission Denial: opening provider com.android.browser.provider.BrowserProvider2 from ProcessRecord{f90b843 2798:org.cade.codigos/u0a57} (pid=2798, uid=10057) requires com.android.browser.permission.READ_HISTORY_BOOKMARKS or com.android.browser.permission.WRITE_HISTORY_BOOKMARKS
via Stack Overflow by AlanRubinoff
, 2 years ago
Permission Denial: opening provider com.android.browser.provider.BrowserProvider2 from ProcessRecord{50889a8 2051:org.cade.codigos/u0a53} (pid=2051, uid=10053) requires com.android.browser.permission.READ_HISTORY_BOOKMARKS or com.android.browser.permission.WRITE_HISTORY_BOOKMARKS
via Stack Overflow by Jon
, 1 year ago
Permission Denial: opening provider com.google.android.gsf.gservices.GservicesProvider from ProcessRecord{myPKG} (pid=4, uid=3539) requires com.google.android.providers.gsf.permission.READ_GSERVICES or com.google.android.providers.gsf.permission.WRITE_GSERVICES
via Stack Overflow by jroal
, 2 years ago
Permission Denial: opening provider com.google.android.apps.babel.content.EsProvider from ProcessRecord{413dcdb8 9580:a2dp.Vol/u0a10071} (pid=9580, uid=10071) that is not exported from uid 10005
via Stack Overflow by Santanu
, 10 months ago
Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from ProcessRecord{292d428 1465:com.moodoff/u0a207} (pid=1465, uid=10207) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS
via Stack Overflow by user3770417
, 1 year ago
Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from ProcessRecord{31a4684 4641:m.d.neemr1/u0a57} (pid=4641, uid=10057) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS
java.lang.SecurityException: Permission Denial: opening provider com.android.browser.provider.BrowserProvider2 from ProcessRecord{f90b843 2798:org.cade.codigos/u0a57} (pid=2798, uid=10057) requires com.android.browser.permission.READ_HISTORY_BOOKMARKS or com.android.browser.permission.WRITE_HISTORY_BOOKMARKS
at android.os.Parcel.readException(Parcel.java:1599)
at android.os.Parcel.readException(Parcel.java:1552)
at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:3550)
at android.app.ActivityThread.acquireProvider(ActivityThread.java:4778)
at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2018)
at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1468)
at android.content.ContentResolver.query(ContentResolver.java:475)
at android.content.ContentResolver.query(ContentResolver.java:434)
at org.cade.codigos.providers.BookmarksProviderWrapper.updateHistory(BookmarksProviderWrapper.java:370)
at org.cade.codigos.ui.runnables.HistoryUpdater.run(HistoryUpdater.java:53)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

8 times, 1 year ago
6 times, 1 year ago
330 times, 1 year ago
45 times, 1 year ago
Once, 1 year ago
251 more bugmates

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