-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Android App crash on start after upgrading to 0.59.8 #25024
Comments
@BasilJohn can you show me how you use |
application |
Did you try clean android build cache after upgrade? |
@BasilJohn remove |
@ferrannp this works !!!! Thanks a lot for the support. |
No problem :) |
I upgraded react native from 0.56 to 0.59.8 using the rn diff tool.
The code builds successfully however the app crashes immediately after launch.
React Native version:
React Native : 0.59.8
Steps To Reproduce
1.Upgrade to RN 0.59.8 using RN DIFF tool
2.Run command "react-native run-android"
I get the below error when i do a logcat from Android Studio.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.libertyhk.eClaim/com.libertyhk.eClaim.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
Though the android:theme is using AppCompat i still see the same issue.
---Below ins my styles.xml file
Describe what you expected to happen:
Expected behaviour to get the app running on android.
The text was updated successfully, but these errors were encountered: