728x90
반응형
FAILURE: Build failed with an exception.
* What went wrong: Execution failed for task ':app:mergeDebugNativeLibs'. > A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction > 2 files found with path 'lib/armeabi-v7a/libfbjni.so' from inputs:
...
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns
...
http://schemas.android.com/sdk/android/repo/sys-img2/01
FAILURE: Build failed with an exception.
* What went wrong: Execution failed for task ':app:mergeDebugNativeLibs'. > A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction > 2 files found with path 'lib/armeabi-v7a/libfbjni.so' from inputs: - /Users/bok/.gradle/caches/transforms-3/7e94e3d9b132599cb91b621cea42323c/transformed/jetified-react-native-0.71.0-rc.0-debug/jni - /Users/bok/.gradle/caches/transforms-3/89468bb0201ba58104c5d8e56bfb0d75/transformed/jetified-fbjni-0.3.0/jni If you are using jniLibs and CMake IMPORTED targets, see https://developer.android.com/r/tools/jniLibs-vs-imported-targets
* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
react-native 버전을 올려서 해결했다.
// before
...
"dependencies": {
"react-native": "0.65.1",
...
// after
...
"dependencies": {
"react-native": "0.65.3",
...
* reference : https://github.com/facebook/react-native/issues/35210#issue-1436785719
728x90
반응형