Skip to content

multiple ownCloud android app on the same device - INSTALL_FAILED_CONFLICTING_PROVIDER error #1091

Closed

Description

@cyberdrills

I need to install two ownCloud android apps on the same device - suppose CloudA and CloudB (different UI for CloudB). After installing CloudA and running successfully on the device, when I try to install CloudB, Eclipse shows INSTALL_FAILED_CONFLICTING_PROVIDER error. I tried by changing 'authorities' name in the manifest but it does not work. What's wrong!!!

Activity

  1. masensio commented on Aug 10, 2015

    @masensio

    Hi @aplicret,

    Do you change the package name? It is impossible to install two apps with the same package name on the Android device.

    Please, tell me if this solves your problem

  2. hannesa2 commented on Aug 10, 2015

    @hannesa2
    Contributor

    you have to set individual authority for provider

  3. tobiasKaminsky commented on Aug 10, 2015

    @tobiasKaminsky
    Contributor

    But why do you want to do this?
    You have the possibility to add different accounts?

  4. cyberdrills commented on Aug 11, 2015

    @cyberdrills
    Author

    I have changed the package name and authority but no result. Yes, I would like to run same owncloud android app two times on the same device with different accounts. Second one is the modified app (some UI and app name changes). What are the changes should I do to run both apps on the same device with different accounts?

  5. davivel commented on Aug 11, 2015

    @davivel
    Contributor

    See the file res/values/setup.xml. You will need to change the values of the parameters app_name, account_type, authority, and data_folder. Probably you will want to change also other parameters there, though not strictly needed to get both apps running.

  6. cyberdrills commented on Aug 12, 2015

    @cyberdrills
    Author

    Hi @davivel thank you. It's working now 👍
    Thanks to all.

  7. rperezb commented on Aug 13, 2015

    @rperezb

    Hey @aplicret, it seems that this issues is fixed so that I close the ticket, being needed please reopen and add a comment

  8. supportreq commented on May 18, 2016

    @supportreq

    @rperezb not sure if this is a bug, but i tried with owncloud app from the play store and tried installing a dev version with the application package name changed using : Android Studio -> android project -> Module Settings -> Flavours -> Application id -> com.ownclouddev.devinstall..

    in the setup.xml modified the authority to com.ownclouddev.devinstall.provider

    any idea?

  9. rperezb commented on May 23, 2016

    @rperezb

    @supportreq please follow @davivel comment #1091 (comment)
    I'd say that this is working fine, we do test daily with more than 1 ownCloud app installed on the same device

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions