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

Azure Pipeline构建React Native Android时NDK版本不匹配报错求助

Gradle构建React Native Android项目时Azure Pipeline出现NDK版本错误
  • 问题原因:任务:app:stripReleaseDebugSymbols执行失败,具体提示:

没有匹配请求版本21.4.7075529的NDK,本地可用版本为:23.2.8568313、24.0.8215888、25.0.8775105、25.0.8775105

  • 建议尝试:
    • 使用--stacktrace选项获取堆栈跟踪
    • 使用--info或--debug选项获取更多日志输出
    • 使用--scan选项获取完整分析信息

构建失败,耗时7分15秒,共执行549个可执行任务,全部完成。错误信息如下:

进程/Users/runner/work/1/s/android/gradlew执行失败,退出码为1,调用栈:

at ExecState._setResult (/Users/runner/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.200.2/node_modules/azure-pipelines-task-lib/toolrunner.js:944:25)
at ExecState.CheckComplete (/Users/runner/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.200.2/node_modules/azure-pipelines-task-lib/toolrunner.js:927:18)
at ChildProcess. (/Users/runner/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.200.2/node_modules/azure-pipelines-task-lib/toolrunner.js:840:19)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Socket.stream.socket.on (internal/child_process.js:389:11)
at Socket.emit (events.js:198:13)
at Pipe._handle.close (net.js:607:12)

##[error]错误:进程/Users/runner/work/1/s/android/gradlew执行失败,退出码为


内容的提问来源于stack exchange,提问作者Vipan Kumar

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.08.21 22:09:15