小编Ros*_*ker的帖子

由于以下原因,已禁用任务“:app:bundleDevJsAndAssets”的执行优化以确保正确性:

编译我的 Android React Native 应用程序时,出现以下与我引用的节点模块相关的错误。

> Task :app:bundleDevJsAndAssets
Execution optimizations have been disabled for task ':app:bundleDevJsAndAssets' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '/Userpath/toapp'. Reason: Task ':app:bundleDevJsAndAssets' uses this output of task ':react-native-async-storage_async-storage:mergeDebugShaders' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  - Gradle detected a …
Run Code Online (Sandbox Code Playgroud)

android compiler-errors gradle android-gradle-plugin react-native

6
推荐指数
0
解决办法
1178
查看次数