[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] Execution failed for task ':app:mergeReleaseNativeLibs'.
[stderr] > A failure occurred while executing com.android.build.gradle.internal.tasks.MergeNativeLibsTask$MergeNativeLibsTaskWorkAction
[stderr] > 2 files found with path 'lib/arm64-v8a/libfolly_runtime.so' from inputs:
[stderr] - /home/expo/workingdir/build/node_modules/react-native-v8/android/build/intermediates/library_jni/release/jni/arm64-v8a/libfolly_runtime.so
[stderr] - /home/expo/.gradle/caches/transforms-3/da6d636c6642f2a9315d85ac9df2adbf/transformed/jetified-react-native-0.69.5-release/jni/arm64-v8a/libfolly_runtime.so
[stderr] If you are using jniLibs and CMake IMPORTED targets, see
[stderr] https://developer.android.com/r/tools/jniLibs-vs-imported-targets
[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 13m 37s
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
There was a similar problem with the react-native-reanimated and the react-native-vision-camera projects with the RN 0.69 version, but them have already fixed.
Have someone did a workarround for this until the official solution come out? Thanks!
After upgrading to
Expo 46
,RN 0.69
andreact-native-v8
1.4.7
I got the "2 files found with path" error on the project build using EAS.Please folks, take a look at my
package.json
file:And the gradle build output:
There was a similar problem with the
react-native-reanimated
and thereact-native-vision-camera
projects with theRN 0.69
version, but them have already fixed.Have someone did a workarround for this until the official solution come out? Thanks!