Description
We recently decided to switch from building our MAUI app for Android platform on Windows to building on Mac; we also target the iOS platform, this allows us to do both builds on a single box.
After this switch, the app wouldn't upgrade- attempting to install the new apk with newer version# built on Mac over the prior version built on Windows, we get "App not installed as package conflicts with an existing package". I've now confirmed the same issue occurs when switching in the other direction- installing a new apk with newer version# built on Windows won't install over a prior version built on Mac with the same "package conflicts" error message.
Before I saw this for myself, I would've said it really shouldn't make any difference what platform you build on.
Is this a known issue? Any way this can be addressed?
Steps to Reproduce
Part 1:
- Create the baseline Maui app
- Build for Release for Android platform on Windows
- Install on an Android device
Part 2:
- Update the versionCode in Android manifest
- Build for Release for Android platform on Windows
- Attempt to install over build from Part 1, you can't, "package conflicts"
Part 3:
- Uninstall the app from Part 1
- Install app from Part 2
- Update the versionCode in Android manifest
- Build for Release for Android platform on Mac
- Attempt to install over build from Part 2, you can't, "package conflicts"
Link to public reproduction project repository
No response
Version with bug
9.0.14 SR1.4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 14 - 16
Did you find any workaround?
No known workaround.
Relevant log output
Description
We recently decided to switch from building our MAUI app for Android platform on Windows to building on Mac; we also target the iOS platform, this allows us to do both builds on a single box.
After this switch, the app wouldn't upgrade- attempting to install the new apk with newer version# built on Mac over the prior version built on Windows, we get "App not installed as package conflicts with an existing package". I've now confirmed the same issue occurs when switching in the other direction- installing a new apk with newer version# built on Windows won't install over a prior version built on Mac with the same "package conflicts" error message.
Before I saw this for myself, I would've said it really shouldn't make any difference what platform you build on.
Is this a known issue? Any way this can be addressed?
Steps to Reproduce
Part 1:
Part 2:
Part 3:
Link to public reproduction project repository
No response
Version with bug
9.0.14 SR1.4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 14 - 16
Did you find any workaround?
No known workaround.
Relevant log output