Skip to content
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

R8 error on RN 0.76.5 #401

Open
SergiOnGit opened this issue Dec 15, 2024 · 2 comments
Open

R8 error on RN 0.76.5 #401

SergiOnGit opened this issue Dec 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@SergiOnGit
Copy link

MAX Module Version

8.1.0

React Native Version

0.76.5

Device/Platform Info

Android

Current Behavior

npx react-native build-android --mode=release ends up with :app:minifyReleaseWithR8 error, when i removed this lib, app builds. So problem is here. This happens after upgrading to 0.76

Expected Behavior

No response

How to Reproduce

Just test it yourself

Reproducible in the demo app?

Not Tested

Additional Info

No response

@SergiOnGit SergiOnGit added the bug Something isn't working label Dec 15, 2024
@alhiwatan
Copy link
Collaborator

@SergiOnGit, I can't reproduce the issue when building with -mode=release for React Native 0.76.5 and Max 8.1.0. Could you post the errors you have?

@SergiOnGit
Copy link
Author

SergiOnGit commented Dec 25, 2024

@alhiwatan This is the error, it isn't happening if i remove this plugin or disable proguard

`> Task :app:minifyReleaseWithR8 FAILED
ERROR: R8: java.util.ConcurrentModificationException

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:minifyReleaseWithR8'.

A failure occurred while executing com.android.build.gradle.internal.tasks.R8Task$R8Runnable
Compilation failed to complete`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants