Skip to content

INSTALL_FAILED_ALREADY_EXISTS #127

@fr-an-k

Description

@fr-an-k

I'm trying to run the Dioxus mobile example, but cargo mobile returns INSTALL_FAILED_ALREADY_EXISTS once it is already installed (Android 8.1 through TCP from WSL).

There is nothing in the documentation about it, nor on Google.
I expect it to just reinstall it if the code has changed, like cargo apk.
Is this an isolated case?
What can I do, other than manually uninstalling it on every change?

2024-01-07 18:55:21.254 18647-18647 chatty                  adbd                                 I  uid=2000(shell) /system/bin/adbd identical 7 lines
2024-01-07 18:55:21.271 18647-18647 ADB_SERVICES            adbd                                 I  LS(30): not ready, errno=11: Try again
2024-01-07 18:55:21.271   504-504   Binder:504_2            netd                                 W  type=1400 audit(0.0:1056): avc: denied { add_name } for name="globalAlert" scontext=u:r:netd:s0 tcontext=u:object_r:proc_net:s0 tclass=dir permissive=0
2024-01-07 18:55:21.280 18647-18647 ADB_SERVICES            adbd                                 I  LS(30): not ready, errno=11: Try again
2024-01-07 18:55:21.356  1092-1703  PowerHalWrapper         system_server                        E  <setInstallationBoost> enable:true
2024-01-07 18:55:21.425  1092-1144  Cta_CtaPermLinker       system_server                        I  linkCtaPermissions takes 0 ms for pkg: com.unovica.unovica_app
2024-01-07 18:55:21.430  1092-1144  PackageManager          system_server                        W  Attempt to re-install com.unovica.unovica_app without first uninstalling.

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