Installation did not succeed.
The application could not be installed: INSTALL_FAILED_CONFLICTING_PROVIDER
This error has bugged me for 2 hours now. I have counterchecked implementation of FileProvider as instructed in the documentation and now appears as follows.
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true"
android:multiprocess="false">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths" />
</provider>
Important: I am testing two applications. When one is already installed in the emulator, this error appears. I need the two apps install successfully. Please do not tell me to uninstall the old one then run new one. Thank you.