Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App not installed as package conflicts with an existing package #38

Open
j3soon opened this issue Aug 6, 2024 · 2 comments
Open

App not installed as package conflicts with an existing package #38

j3soon opened this issue Aug 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@j3soon
Copy link
Owner

j3soon commented Aug 6, 2024

When updating from v0.1 to v0.2 on my phone, the following error message occurs:

App not installed as package conflicts with an existing package.

The corresponding fix is to first uninstall v0.1 and then re-install v0.2, which will then require the user to re-configure the credentials/settings.

This will be an inconvenience if all future versions require an uninstallation before updating. I'll keep this open until a fix is confirmed.

@j3soon
Copy link
Owner Author

j3soon commented Aug 14, 2024

As @ijsun mentioned, this issue may be caused by not updating the versionCode in commit bb2fed8.

@tigerpaws01, let's bump this number in the next release to see if it fixes the issue.

Reference: https://developer.android.com/studio/publish/versioning#appversioning

@j3soon j3soon added the bug Something isn't working label Nov 7, 2024
@j3soon
Copy link
Owner Author

j3soon commented Dec 7, 2024

Aside from needing to update versionCode, the APK should also be signed by the same key to fully resolve this issue.

Since v0.2 is not signed, this issue can only be fixed in the next version (v0.4) based on the signed v0.3.

Ref: https://stackoverflow.com/a/73238388

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant