首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >“任务执行失败”:博览会:编译

“任务执行失败”:博览会:编译
EN

Stack Overflow用户
提问于 2022-11-05 11:17:08
回答 1查看 1K关注 0票数 3

我正在构建一个反应本机应用程序使用eas。每次尝试都会失败,我不知道会有什么问题。“这是它显示的错误

代码语言:javascript
复制
Task :expo:compileReleaseKotlin FAILED1470
[stderr] e: /home/expo/workingdir/build/node_modules/expo/android/src/main/java/expo/modules/ReactNativeHostWrapperBase.kt: (50, 3): 'getUIImplementationProvider' overrides nothing1471
[stderr] e: /home/expo/workingdir/build/node_modules/expo/android/src/main/java/expo/modules/ReactNativeHostWrapperBase.kt: (50, 76): Unresolved reference: UIImplementationProvider1472
[stderr] e: /home/expo/workingdir/build/node_modules/expo/android/src/main/java/expo/modules/ReactNativeHostWrapperBase.kt: (51, 12): Not enough information to infer type variable T1473> 
Task :expo-modules-core:buildCMakeRelWithDebInfo[x86_64]1474w: 
Detected multiple Kotlin daemon sessions at build/kotlin/sessions1475Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.1476You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.1477See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings1478Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.1479Please consult deprecation warnings for more details.1480377 actionable tasks: 377 executed1481
[stderr] FAILURE: Build failed with an exception.1482
[stderr] * What went wrong:1483[stderr] Execution failed for task ':expo:compileReleaseKotlin'.1484[stderr] > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction1485[stderr]    > Compilation error. See log for more details1486
[stderr] * Try:1487[stderr] > Run with --stacktrace option to get the stack trace.1488[stderr] > Run with --info or --debug option to get more log output.1489[stderr] > Run with --scan to get full insights.1490[stderr] * Get more help at https://help.gradle.org1491[stderr] BUILD FAILED in 5m 47s1492Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

我尝试过在机器上安装和重新安装expo,它使用的是linux(准确地说,是Crostini),因为它突出显示的一些错误是一些已安装模块的不推荐错误。我尝试过多次构建它,重新查看我的代码,并在网上搜索,希望我能指出问题出在哪里。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-11-08 20:20:23

对我起作用的解决方案是将您的本机包升级到补丁版本,如下所述:https://github.com/facebook/react-native/issues/35210

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/74327223

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档