Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]

Hi guys, I’m trying to build my game on my phone and suddenly I get this error please help me, I tried a lot of things but no solution :frowning:

Installation failed with the following output:
pkg: /data/local/tmp/Package.apk

Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]

3813 KB/s (43199148 bytes in 11.061s)

UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

Problem solved :stuck_out_tongue: … in my AndroidManifes.xml file just correct authorities name to be the same like package name:

<provider android:name="android.support.v4.content.FileProvider" android:authorities="com.mycompany.myapp" android:exported="false" android:grantUriPermissions="true">
1 Like

hey man thanks for advice. have same problem :

Installation failed with the following output:
pkg: /data/local/tmp/Package.apk

Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]

2397 KB/s (41955735 bytes in 17.090s)

UnityEditor.HostView:OnGUI()

could you tell file where it locates?
When i entered name in windows search i got hundreds of files

hey man thanks)
But could you cpecify location of the file please
i got 733 files with that name

Hi musolo. this line of code is located in Plugins/Android/AndroidManifest.xml

Cheers,

1 Like

I don’t see this in AndroidManifes.xml