-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
Circular dependency between compileReleaseJavaWithJavac and generateSentryProguardUuidRelease #3644
Circular dependency between compileReleaseJavaWithJavac and generateSentryProguardUuidRelease #3644
Comments
Hi @abdullRahman95, |
Hi @krystofwoldrich
|
I´m having the same error with the |
Thank you for the update @Ch4rl3B and @abdullRahman95, we are currently unable to reproduce this, would you be able to share a minimal reproducible example? Can you also share your Sentry Android Gradle Plugin configuration? |
I started looking into this and so far couldn't reproduce this issue.
|
Hi I have the same issue with
|
@Karjan1 Thank you, we'll keep you posted. |
Hey @Karjan1, we just released |
No still getting the same error. |
Hi @Karjan1 - We are still facing the same problem with same stack trace with AGP 4.4.0
|
I gave other versions a try. |
Quick update: I was finally able to locally reproduce this issue, at least for flutter.
I'll keep you posted about any updates! |
@Karjan1 we shipped a fix for this in |
Circular dependency between the following tasks: How to resolve this |
Hey, how do you enable dexguardEnabled flag for expo/sentry-react-native? |
@markushi
I start getting a circular dependency when building a release app
"@sentry/react-native": "^5.22.2" UPDATE
|
Thank you everyone for the comment, we are reopening the issue and will investigate it. |
Is this still happening? |
We currently don't have any new reports of this issue, if you are experiencing this @feinstein, please share details of your setup, so we can reproduce it (or reproducible example). |
I can see this happening with the gradle plugin version set as |
@krystofwoldrich I am still getting the same issue with 'classpath("io.sentry:sentry-android-gradle-plugin:4.11.0")' and "@sentry/react-native": "^5.28.0", in React Native. What went wrong: Circular dependency between the following tasks:
Any solution for this? This is affecting my release. |
Hi @IbrahimSheikh24, the workaround is to use lower version the Sentry Android Gradle Plugin, version If you would be able to provide minimal reproducible example that would help us debug the issue. |
Hi @krystofwoldrich, You can also reproduce by generating release build(also make minifyEnabled true and shrinkResources true) in Android, it will fail with the given error message. By making minifyEnabled false, release build will be successful. |
Hi @IbrahimSheikh24 I've tried |
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)SDK version: 5.17.0
react-native
version: 0.67.5Are you using Expo?
Are you using sentry.io or on-premise?
If you are using sentry.io, please post a link to your issue so we can take a look:
[Link to issue]
Configuration:
(
@sentry/react-native
)I have the following issue:
When I upgraded "@sentry/react-native" from 5.13.0 to 5.17.0, and was trying to create a release build for android (react-native), I'm getting the following error:
I tried to update sentryGradlePluginVersion in android\build.gradle file to 4.3.1 as specified in the documentation (https://docs.sentry.io/platforms/react-native/manual-setup/manual-setup/#android, https://mvnrepository.com/artifact/io.sentry/sentry-android-gradle-plugin) but no luck, could you please help on this?
The text was updated successfully, but these errors were encountered: