ITADN

FAILURE: Build failed with an exception.

#7OpenKartikDevarde2601 创建于 2024-11-25
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:mergeDebugJavaResource'. > A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction > 5 files found with path 'META-INF/INDEX.LIST' from inputs: - /home/bioztwo/.gradle/caches/transforms-4/1ee0966f455159cf41a5caa851da614a/transformed/jetified-netty-handler-4.1.48.Final.jar - /home/bioztwo/.gradle/caches/transforms-4/54993f166b37258a34d1c2bbf385a0ce/transformed/jetified-netty-codec-4.1.48.Final.jar - /home/bioztwo/.gradle/caches/transforms-4/a9e4f4711e16957861c6e3e737bfc6ad/transformed/jetified-netty-transport-4.1.48.Final.jar - /home/bioztwo/.gradle/caches/transforms-4/2b36ca5f6d8a394890cc77a0c160bf5d/transformed/jetified-netty-buffer-4.1.48.Final.jar - /home/bioztwo/.gradle/caches/transforms-4/b8df2fb6aeab78c7abb652be4d41521d/transformed/jetified-netty-resolver-4.1.48.Final.jar Adding a packagingOptions block may help, please refer to https://developer.android.com/reference/tools/gradle-api/8.2/com/android/build/api/dsl/ResourcesPackagingOptions for more information **React-Native Info** bioztwo@bioztwo-OptiPlex-5090:~/Documents/GitHub/react_native_op_sql$ npx react-native info info Fetching system and libraries information... System: OS: Linux 6.8 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat) CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11500 @ 2.70GHz Memory: 3.06 GB / 15.35 GB Shell: version: 5.2.21 path: /bin/bash Binaries: Node: version: 20.16.0 path: ~/.nvm/versions/node/v20.16.0/bin/node Yarn: version: 1.22.22 path: ~/.nvm/versions/node/v20.16.0/bin/yarn npm: version: 10.8.1 path: ~/.nvm/versions/node/v20.16.0/bin/npm Watchman: Not Found SDKs: Android SDK: Android NDK: 25.1.8937393 IDEs: Android Studio: Not Found Languages: Java: version: 17.0.11 path: /home/bioztwo/.sdkman/candidates/java/current/bin/javac Ruby: Not Found npmPackages: "@react-native-community/cli": Not Found react: installed: 18.2.0 wanted: 18.2.0 react-native: installed: 0.74.6 wanted: 0.74.6 npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: Not found newArchEnabled: false info React Native v0.76.3 is now available (your project is running on v0.74.6).
4 条评论