Ros*_*ker 6 android compiler-errors gradle android-gradle-plugin react-native
编译我的 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 problem with the following location: '/Userpath/toapp'. Reason: Task ':app:bundleDevJsAndAssets' uses this output of task ':react-native-async-storage_async-storage:packageDebugAssets' 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 problem with the following location: '/Userpath/toapp'. Reason: Task ':app:bundleDevJsAndAssets' uses this output of task ':react-native-async-storage_async-storage:packageDebugRenderscript' 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 problem with the following location: '/Userpath/toapp'. Reason: Task ':app:bundleDevJsAndAssets' uses this output of task ':react-native-async-storage_async-storage:writeDebugAarMetadata' 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 problem with the following location: '/Userpath/toapp'. Reason: Task ':app:bundleDevJsAndAssets' uses this output of task ':react-native-community_netinfo:compileDebugAidl' 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 problem with the following location: '/Userpath/toapp'. Reason: Task ':app:bundleDevJsAndAssets' uses this output of task ':react-native-community_netinfo:compileDebugShaders' 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 problem with the following location: '/Userpath/toapp'. Reason: Task ':app:bundleDevJsAndAssets' uses this output of task ':react-native-community_netinfo: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 problem with the following location: '/Userpath/toapp'. Reason: Task ':app:bundleDevJsAndAssets' uses this output of task ':react-native-community_netinfo:packageDebugAssets' 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 problem with the following location: '/Userpath/toapp'. Reason: Task ':app:bundleDevJsAndAssets' uses this output of task ':react-native-community_slider: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.
Run Code Online (Sandbox Code Playgroud)
有谁知道这些错误是由包本身引起的,还是我需要在我的 java 文件中显式引用它们?我最近从 Android Gradle 4.0 升级到 7.3.3。我以前没有出现这些错误
| 归档时间: |
|
| 查看次数: |
1178 次 |
| 最近记录: |