- 로컬 빌드가 성공했다 싶었더니 fastlane firebase 빌드가 터지는 중
-
[Codegen] >>>>> Processing FBReactNativeSpec
[Codegen] Generated schema: /var/folders/kr/c6_gp7z53h59g9008zzsyfnm0000gn/T/FBReactNativeSpecTHf3x7/schema.json
/bin/sh: -c: line 0: syntax error near unexpected token '('
- 무언가 잘못 되었네...
- 다시 안드로이드부터 돌려보니 또 터진다 🙈
-
Execution failed for task ':app:configureNdkBuildDebug'.
> [CXX1405] error when building with ndkBuild using /Users/jiggag/Projects/react-native-starter/android/app/src/main/jni/Android.mk: Build command failed.
Error while executing process /Users/jiggag/Library/Android/sdk/ndk/21.4.7075529/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/Users/jiggag/Projects/react-native-starter/android/app/src/main/jni/Android.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 NDK_OUT=/Users/jiggag/Projects/react-native-starter/android/app/build/intermediates/cxx/Debug/op5h1u54/obj NDK_LIBS_OUT=/Users/jiggag/Projects/react-native-starter/android/app/build/intermediates/cxx/Debug/op5h1u54/lib APP_CFLAGS+=-Wall APP_CFLAGS+=-Werror APP_CFLAGS+=-fexceptions APP_CFLAGS+=-frtti APP_CFLAGS+=-DWITH_INSPECTOR=1 APP_CPPFLAGS+=-std=c++17 APP_PLATFORM=android-21 APP_STL=c++_shared NDK_TOOLCHAIN_VERSION=clang GENERATED_SRC_DIR=/Users/jiggag/Projects/react-native-starter/android/app/build/generated/source PROJECT_BUILD_DIR=/Users/jiggag/Projects/react-native-starter/android/app/build REACT_ANDROID_DIR=/Users/jiggag/Projects/react-native-starter/android/../node_modules/react-native/ReactAndroid REACT_ANDROID_BUILD_DIR=/Users/jiggag/Projects/react-native-starter/android/../node_modules/react-native/ReactAndroid/build APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
Android NDK: ERROR:/Users/jiggag/Projects/react-native-starter/android/app/src/main/jni/Android.mk:fb: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that /Users/jiggag/Projects/react-native-starter/android/app/build/react-ndk/exported/armeabi-v7a/libfb.so exists or that its path is correct
fcntl(): Bad file descriptor
/Users/jiggag/Library/Android/sdk/ndk/21.4.7075529/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Stop.
- 된다는데... 안되는데!
- 관련 이슈
react-navigation, react-native-safe-area-context, react-native-screens
모두 제거했더니 해결은 되었다
- 이러고 싶지 않은데...
- 이번엔 appmodules를 찾지 못하는 에러
- 터보 모듈을 도입하면서 appmodules를 새로 등록했는데 이를 찾지 못한다 왜?
java.lang.UnsatisfiedLinkError: couldn't find DSO to load: librnstarter_appmodules.so
- 템플릿은 잘 돌아간다... 내가 잘못했다
- 다시 마음을 다잡아보았다
- 새로 만난 친구
-
org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.
Caused by: org.gradle.api.UnknownDomainObjectException: Extension of type 'Copy' does not exist. Currently registered extension types: [ExtraPropertiesExtension]
- ??? gradle ExtraPropertiesExtension
build.gradle.kts
에서 상수 비교를 위해 ===
를 사용하고 있었는데, ==
로 변경했더니 발생하였다
public open operator fun equals(other: Any?): Boolean
을 의미하는데
- 여기서 말하는
Copy
그런 느낌일걸까
build.gradle
에서 설정을 위한 준비를 하고 있는데, 아직 코틀린 오퍼레이터를 가져오지 못한 상태로 호출해서인가
- 다시
===
로 돌아간다