Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]

Discussion in 'Android' started by RoyalCoder, Sep 7, 2014.

  1. RoyalCoder

    RoyalCoder

    Joined:
    Oct 4, 2013
    Posts:
    301
    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 :(

    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()
     
  2. RoyalCoder

    RoyalCoder

    Joined:
    Oct 4, 2013
    Posts:
    301
    Problem solved :p ... in my AndroidManifes.xml file just correct authorities name to be the same like package name:
    Code (CSharp):
    1. <provider android:name="android.support.v4.content.FileProvider" android:authorities="com.mycompany.myapp" android:exported="false" android:grantUriPermissions="true">
     
    StartStart likes this.
  3. musolo

    musolo

    Joined:
    Sep 12, 2014
    Posts:
    238
    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
     
  4. musolo

    musolo

    Joined:
    Sep 12, 2014
    Posts:
    238
    hey man thanks)
    But could you cpecify location of the file please
    i got 733 files with that name
     
  5. RoyalCoder

    RoyalCoder

    Joined:
    Oct 4, 2013
    Posts:
    301
    Hi musolo. this line of code is located in Plugins/Android/AndroidManifest.xml

    Cheers,
     
    StartStart likes this.
  6. ParkJongSoon

    ParkJongSoon

    Joined:
    Jun 7, 2017
    Posts:
    1
    I don't see this in AndroidManifes.xml