Install shows error in console: INSTALL FAILED CONFLICTING PROVIDER
The authority, as listed in android:authorities
must be unique. Quoting the documentation for this attribute:
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
If you have different flavors and you want to avoid collisions in the authority name you can add an applicationIdSuffix
to build types and use the resulting applicationId
in your manifest, like this:
<...
android:authorities="${applicationId}.contentprovider"/>