Failed to find provider info for com.example.provider.UniqueContentProvider

The above error arises when the content provider has been declared incorrectly in the manifest.
1. Make sure that this is defined WITHIN the tags

In the above, android:authorities is just the name of a string that should be unique. Its different from the android:name, which is the fully qualified name of your ContentProvider implementation that implements android.content.ContentProvider

2. Although the actual content provider implementation may reside in a library project, the definition should be reside in the androidmanifest.xml of the main project.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s