I have read just about everything there is to find here on this issue, not getting past this.
I have a simple app starting with the MainActivity
, my
From reference page on
: Link
android:authorities: ......To avoid conflicts, authority names should use a Java-style naming convention (such as com.example.provider.cartoonprovider). Typically, it's the name of the ContentProvider subclass that implements the provider.
In your case, android:authorities
should have the value: de.somename.provider.hvkContentProvider
.
android:name:...... The name of the class that implements the content provider, a subclass of ContentProvider. This should be a fully qualified class name (such as, "com.example.project.TransportationProvider"). However, as a shorthand, if the first character of the name is a period, it is appended to the package name specified in the element.
So, if you are defining package
in the manifest
tag of AndroidManifest.xml
, make sure hvkContentProvider
is in that package. Else, change android:name=".hvkContentProvider"
to android:name="de.somename.hvk3.hvkContentProvider"
or your.package.name.hvkContentProvider