> Task :app:bundleReleaseJsAndAssets_SentryUpload ... FAILED
See original GitHub issueEnvironment
How do you use Sentry? Sentry SaaS (sentry.io)
Which SDK and version?
"@sentry/react-native": "3.4.3",
Steps to Reproduce
- Building android using Fastlane
- Sentry integration is set to default using sentry-wizard
- Previously was working using this task
> Task :app:bundleReleaseJsAndAssets_SentryUpload_com.wander.com.app@1.1.2+2112328043_2112328043
- Nothing was changed in sentry integration but android using this task
> Task :app:bundleReleaseJsAndAssets_SentryUpload_com.wander.com.app@1.1.2+-2095294253_-2095294253 FAILED
- Notice the differences between task name with
-
sign and without it
Expected Result
Build without failing 😃
Actual Result
I think somewhere the Android sentryUpload task is auto generating the id/number with a - sign
. I double checked if we changed/updated something in the code base after the this task was failing and I confirm that there was no major update, only small UI updates.
wdyt @marandaneto
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Task :app:bundleReleaseJsAndAssets_SentryUpload FAILED ...
Task :app:bundleReleaseJsAndAssets FAILED ▸ Task ... FAILED Processing react-native sourcemaps for Sentry upload. error: No such file or ...
Read more >Task :app:bundleReleaseJsAndAssets_SentryUpload FAILED
I solved this problem by following this steps: 1- Installing sentry-cli globally sudo npm install -g @sentry/cli --unsafe-perm.
Read more >React native assembleRelease fails - SDKs - #sentry
Execution failed for task ':app:bundleReleaseJsAndAssetsdebugSentryUpload'. Process 'command 'cmd'' finished with non-zero exit value 1. Try:
Read more >@sentry/react-native - npm
Official Sentry SDK for react-native. Latest version: 4.12.0, last published: 12 days ago. Start using @sentry/react-native in your project ...
Read more >React native sentry release build failed - N Kaushik
* What went wrong: Execution failed for task ':app:bundleReleaseJsAndAssets_SentryUpload_1'. Even after cleaning the build, it was throwing the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Its not released yet, Monday you test it again with 4.0.2
@hetmann we use the
versionCode
or env. var.SENTRY_DIST
in case you have defined it.https://github.com/getsentry/sentry-react-native/blob/8830dab56e4e883273d15d3709d2b8cbaf50020a/sentry.gradle#L181-L182
https://github.com/getsentry/sentry-react-native/blob/8830dab56e4e883273d15d3709d2b8cbaf50020a/sentry.gradle#L67
This is usually generated by your App’s build script, e.g. https://github.com/facebook/react-native/blob/80f73671495c4330ddf7e1db85a42c629a557ee2/template/android/app/build.gradle#L250-L255
Can you check in your file if this could lead to negative numbers? We can likely
abs
the number but you can also likely fix it on your end, does that help?