-
-
Notifications
You must be signed in to change notification settings - Fork 338
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 bundle build fails with error message "A release slug is required" #3528
Comments
Hi @n-kulic, You can set the release and dist using envs, |
I'm not quite sure where should i set release and dist values? apply plugin: "io.sentry.android.gradle"
sentry {
release = ...?
} Or you meant i have to set those env variables manually? |
@n-kulic I am facing the exact same issue. Have you figured out how these env variables need to be passed. |
At the moment you would need to set the environmental variables manually. |
@n-kulic Thank you, we will check it. |
same here, how to fix it? |
@phuocantd Thank you for the message, ale you using the latest RN SDK including this fix? Please consider opening a new issue, since this thread is almost half a year old. |
Looks like I've fixed it |
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)react-native-sentry
(<= 0.43.2)SDK version: 0.0.0
react-native
version: 5.15.2Are 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:
N/A
Configuration:
(
@sentry/react-native
)I have the following issue:
Android app bundle build is failing, i.e.
./gradlew bundleRelease
command.Steps to reproduce:
npx react-native@latest init AwesomeProject
npx @sentry/wizard@latest -s -i reactNative
./gradlew bundleRelease
Actual result:
Build fails with following error:
And based on source code this seems intentional:
sentry.gradle line 133
Specifically the following part:
Why are release args not included when building app bundle?
Expected result:
Build to succeed.
The text was updated successfully, but these errors were encountered: