Samsung's Package Installer crashes when updating app with APK

Found out that Samsung devices with Android 14 having this issue where package installer will silently crash when trying to update my app that is originally installed from PlayStore with an APK that is signed with the same prod key that is downloaded from another source for testing in prod env before releasing to public.

But there is no issue when downloading the APK after uninstalling the app from PlayStore, or even updating the app when the first app is installed with the APK.

Tried to log out the reason of the Crash with Android Studio, not sure if its helpful:
java.lang.RuntimeException: Unable to start receiver android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?”

Anyone facing similar issue?

Thank you!

1 Like

Hello lucaschan,

Welcome to the Samsung Developers Forum.

Please create a support ticket in our dedicated Developer Support Channel so that we can take a better look at the issue.

Best Regards,
Samsung Developer Relations