ActivityThread: Failed to find provider Sqlite database

Issue:
ActivityThread: Failed to find provider

Try check this authority tags if they are all the same:
(com.yourdomen.yourproject.YourContentProviderClass replace your path to YourContentProviderClass)

res/xml/serchable.xml
Tag searchable

<searchable xmlns:android="http://schemas.android.com/apk/res/android"
android:blahblah 
......
android:searchSuggestAuthority="com.yourdomen.yourproject.YourContentProviderClass"

AndroidManifest.xml
Tag provider

 <provider android:name=".YourContentProviderClass"
                  android:authorities="com.yourdomen.yourproject.YourContentProviderClass" />
This entry was posted in Android Studio, Bugs, warnings, errors and tagged , . Bookmark the permalink.


Comments are closed.



1,381 views