You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

EAS Build构建Android应用时遇元数据上传失败及权限问题

EAS Build Android构建报错问题

执行eas build -p android、eas build --platform android --profile preview或eas build --profile preview命令构建Android应用时,出现警告“Failed to upload metadata to EAS Build”,原因是“Request failed: 400 (Bad Request)”。此前构建流程正常,从昨日起持续报错,同时项目压缩包大小从之前的3-5MB骤增至100MB以上,新建Expo项目构建也出现相同错误。

本地终端执行日志

PS D:\Javaneh\Projects\ghodrat-telecom-ultimate> eas build -p android Resolved "production" environment for the build. Learn more: https://docs.expo.dev/eas/environment-variables/#setting-the-environment-for-your-builds No environment variables with visibility "Plain text" and "Sensitive" found for the "production" environment on EAS.

✔ Incremented versionCode from 1 to 2. ✔ Using remote Android credentials (Expo server) ✔ Using Keystore from configuration: Build Credentials mHg5xK_JbM (default)

Compressing project files and uploading to EAS Build. Learn more: https://expo.fyi/eas-build-archive ✔ Compressed project files 57s (138 MB) Failed to upload metadata to EAS Build

Reason: Request failed: 400 (Bad Request) ✔ Uploaded to EAS 3m 50s ✔ Computed project fingerprint

Build details: https://expo.dev/accounts/rashed_dev/projects/ghodrat-telecom-ultimate/builds/f6200150-b475-4904-b170-b3a87cadcc5a

Waiting for build to complete. You can press Ctrl+C to exit. ✖ Build failed

🤖 Android build failed: Unknown error. See logs of the Prebuild build phase for more information.

Expo平台构建日志

Prebuild

1s

sh: 1: expo: Permission denied npx expo prebuild --no-install --platform android exited with non-zero code: 126

Fail job

1s

Build failed

npx expo prebuild --no-install --platform android exited with non-zero code: 126

已尝试的解决方案

  • 卸载重装项目依赖
  • 重新安装Expo CLI(npm install -g eas-cli)
  • 检查网络连接

内容的提问来源于stack exchange,提问作者Rashed Mohammadi

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.14 13:52:06