简体   繁体   English

任务:app:bundleReleaseJsAndAssets_SentryUpload_200 失败

[英]Task :app:bundleReleaseJsAndAssets_SentryUpload_200 FAILED

I have this error (below) occurring every time I want to build the release apk on my react native app.每次我想在我的 react 本机应用程序上构建发布 apk 时都会发生此错误(如下)。 I have already checked the auth token on the sentry.properties from here ( https://sentry.io/settings/account/api/auth-tokens/ ) but the problem continue to work..我已经从这里( https://sentry.io/settings/account/api/auth-tokens/ )检查了 sentry.properties 上的身份验证令牌,但问题仍然存在。

I have found a solution with ./gradlew app:assembleRelease -x bundleReleaseJsAndAssets but it doesn't solve the problem because when I start the apk it crashes every time.我找到了./gradlew app:assembleRelease -x bundleReleaseJsAndAssets的解决方案,但它并没有解决问题,因为当我启动 apk 时,它每次都会崩溃。

Have you got some tips?你有什么建议吗? Thank you谢谢

error : API request failed caused by: sentry reported an error: [Errno 28] No space left on device: '/var/lib/sentry/files/c5/25f3' (http status: 400)错误:API请求失败,原因是:哨兵报告错误:[Errno 28]设备上没有剩余空间:'/var/lib/sentry/files/c5/25f3'(http状态:400)

Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.添加 --log-level=[info|debug] 或 export SENTRY_LOG_LEVEL=[info|debug] 以查看更多输出。 Please attach the full debug log to all bug reports.请将完整的调试日志附加到所有错误报告中。

API request failed API 请求失败

Task :app:bundleReleaseJsAndAssets_SentryUpload_200 FAILED caused by: sentry reported an error: [Errno 28] No space left on device: '/var/lib/sentry/files/c5/25f3' (http status: 400)任务:app:bundleReleaseJsAndAssets_SentryUpload_200 FAILED 原因:哨兵报告错误:[Errno 28] 设备上没有剩余空间:'/var/lib/sentry/files/c5/25f3'(http 状态:400)

Execution failed for task ':app:bundleReleaseJsAndAssets_SentryUpload_200'.任务 ':app:bundleReleaseJsAndAssets_SentryUpload_200' 执行失败。

Process 'command '/Users/antoniomanitta/narvalo-frontend/node_modules/@sentry/cli/bin/sentry-cli'' finished with non-zero exit value 1进程 'command'/Users/antoniomanitta/narvalo-frontend/node_modules/@sentry/cli/bin/sentry-cli'' 以非零退出值 1 结束

i dont know if it will help..我不知道它是否会有所帮助..

But in my case, i needed 3 steps.但就我而言,我需要 3 个步骤。

1- I installed sentry-cli globaly on my pc 1-我在我的电脑上安装了 sentry-cli globaly

sudo npm install -g @sentry/cli --unsafe-perm

2- Than, I loggedin on terminal, using: 2-然后,我登录终端,使用:

sentry-cli login

(following the process of login, and getting the necessary token) (按照登录过程,并获得必要的令牌)

3- Than, I updated my android/sentry.properties with the token generated 3-然后,我用生成的令牌更新了我的 android/sentry.properties

defaults.url=https://sentry.io/
defaults.org=my-organization
defaults.project=my-project
auth.token=token

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM