-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
targetSdkVersion 33 to 34 app crash #45555
Comments
|
|
|
|
You need to upgrade the react native version to support the SDK version 34 |
As @migueldaipre correctly pointed out, you need to migrate to React Native 0.74 in order to do so. |
Detailed explanation and potential issue fixes are added and discussed in this Medium article: |
i'm faced this issue too, and upgrading to rn 0.74 fix my problem, but we need to bump min sdk version to 21, |
Description
I am using React Native version 0.71.6. When I changed targetSdkVersion from 33 to 34, the app crashed and there was no log. only in Android
and i also tried change MainApplication.java file
also
android/app/build.gradle
I applied this and it works well in debug mode, both on the emulator and on the actual device. However, if you upload it to the Google Play Store as an internal test and run it, the app crashes again.
How can I solve this? Below are my files
android/build.gradle
package.json
Steps to reproduce
yarn android
React Native Version
0.71.6
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
no
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: