Issues and Solutions for publishing on the Galaxy Store

When uploading an app to the Galaxy Store (Samsung store) for Samsung devices, I have come across two different errors by the reviewers of Samsung, when they tried installing the app. I could not reproduce any of the erros locally, which made solving them even harder.

Error code -103

Installation failed. Try later. (com.felixlarsen.somappid: -103)

This error indicates that there is something wrong with the .apk Signatures. Make sure to use both v1 (jar) and v2 (Full apk) signatures for the apk.

Error code -22

Installation failed. Try later. (com.felixlarsen.somappid: -22)

This issue occurs when you are trying to install and app, which is already uploaded to the Google Play Store with the same application id, but a different signature. Because I am using the latest recommandations of Google to upload the app as an .aab file (Android App Bundle) and this format isn't allowed by Samsung, I had to upload an .apk which naturally has a different signature than the .aab. The solution is to upload the app to the Galaxy Store with a different application id.