-
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
React Native Android fails with Desugaring enabled #45506
Comments
|
The reproducer was made with RN 0.74.3 and the problem still exists |
@AndersonVanzo is it possible to bump your |
@netmaxt3r I can't change |
@AndersonVanzo I see your device spec says android 7.0 firmware is available, you could try update it 7.0 and raise minsdkVersion. you could also try with |
The answer provided by @netmaxt3r is excellent! We don't support this out of the box, plus we're also about to bump the minSdk to 24 in an upcoming version of RN (see react-native-community/discussions-and-proposals#802). What I can reccomend to try @AndersonVanzo is to:
|
I encountered the same issue due to OptionalInt and coreLibraryDesugaringEnabled in my app. I found that it was addressed in this pull request. Is it possible to include this fix in the upcoming 75.3 release? |
You can open a pick request here: https://github.com/reactwg/react-native-releases/ |
Description
I'm integrating my app with the Zoop POS SDK for a device with Android SDK 23.
The SDK uses the Java Time Instant, so to be able to run I need to use
coreLibraryDesugaringEnabled
.But, when i ran the app, I get the following error:
This is my build.gradle (app):
And my build.gradle (project):
Steps to reproduce
yarn start
a
to run on AndroidReact Native Version
0.74.2
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/AndersonVanzo/desugaringerror
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: