[Android] TargetAPI 34 crash on launch


If you’re facing one of the similar issues:

https://discussions.unity.com/t/android-app-crashes-when-installed-from-google-play-store/947937/12

https://discussions.unity.com/t/app-crash-at-launch-with-sdk-34-and-android-14-mobiles/950671/32

There are three possible ways of fixing this issue:

1. Upgrade plugins or delete them from the Assets/Plugins folder and reinstall them.

2. Specify flag when registering broadcast receivers to indicate export behaviour from Android 14 onwards

https://issuetracker.unity3d.com/issues/android-targetapi-34-crash-on-launch?page=2#comments:~:text=PRISHAUNITY,to%20investigate%20further

3. Manually edit gradle file

https://discussions.unity.com/t/cant-build-android/898522/4

https://discussions.unity.com/t/build-error-after-updating-to-api-level-34-android-14/952097/2#:~:text=check%20the%20final%20build.gradle