gradle 运行expo EAS服务时,任务“:app:bundleReleaseJsAndAssets”的执行失败

osh3o9ms  于 2022-11-14  发布在  其他
关注(0)|答案(1)|浏览(117)

当我尝试使用expo EAS服务构建expo react原生应用程序时,我收到如下错误消息:

Please consult deprecation warnings for more details.
426 actionable tasks: 426 executed
[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] Execution failed for task ':app:bundleReleaseJsAndAssets'.
[stderr] > Process 'command 'node'' finished with non-zero exit value 1
[stderr] * Try:
[stderr] > Run with --stacktrace option to get the stack trace.
[stderr] > Run with --info or --debug option to get more log output.
[stderr] > Run with --scan to get full insights.
[stderr] * Get more help at https://help.gradle.org
[stderr] BUILD FAILED in 3m 8s
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

我的eas.json看起来像这样,

{
  "cli": {
    "version": ">= 2.4.1"
  },
  "build": {
    "development": {
      "developmentClient": true,
      "distribution": "internal",
      "android": {
        "image": "ubuntu-18.04-jdk-11-ndk-r19c"
      }
    },
    "preview": {
      "distribution": "internal"
    },
    "production": {
      "android": {
        "buildType": "apk"
      }
    }
  },
  "submit": {
    "production": {}
  }
}

我应用程序配置如下:

minSdkVersion = '21'
buildToolsVersion = '31.0.0'
compileSdkVersion = '33'
targetSdkVersion = '33'

我正在生成一个apk。有人能帮忙吗

zpf6vheq

zpf6vheq1#

问题的真实的原因应记录在上面的某个位置

相关问题