-
-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RN 68.1 android not running #1483
Comments
Hey! 👋 It looks like you've omitted a few important sections from the issue template. Please complete Description, Steps To Reproduce, Reproduction and Platform sections. |
Hey! 👋 The issue doesn't seem to contain a minimal reproduction. Could you provide a snippet of code, a snack or a link to a GitHub repository that reproduces the problem? |
same here, has anyone solved this issue? |
I can not reproduce this issue w/o any reproduction or insights, but I recall coming across this If it does not help, please conform to bot's comments so I can have something to begin with. |
has anyone solved this issue ?? |
This response points toward some local misconfiguration. You might want to check it out. Edit: Actually, thanks to that issue I managed to reproduce it & fix it with suggestion provided there. Edit your
and set this setting explicitly to
Taking a quick peek it looks like this option is set to Also you should checkout this troubleshooting section in React Native docs |
I'm closing this issue, as:
However feel free to re-open / continue the discussion. |
Hello :) The complete error is here:
I thought maybe it's because of the the OS. I use MacOS Monterey which only supports 64 bit 🤔 but arm and the others are working... I already followed the hint from #1483 (comment) but it does not work. :( |
Same problem here, I am on MacOS Monterey as well, can't build for arm64-v8a also.
|
I believe this is due to some misconfiguration of task dependencies in react native gradle plugin (files are required before they re build). Workaround for now: run the Android build twice from Android studio. Gradle Sync && first build will fail, but required files will be build so that following builds should succeed. Edit: you should also consider using more recent React Native version (0.70 or 0.69 at least) as Fabric development at React Native comes with some breaking/big changes in recent versions and many libraries (including |
[CXX1405] error when building with ndkBuild using node_modules/react-native-screens/android/src/main/jni/Android.mk: Build command failed.
Error while executing process /Users/mono-hyd-mac-9/Library/Android/sdk/ndk/24.0.8215888/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/node_modules/react-native-screens/android/src/main/jni/Android.mk APP_ABI=x86_64 NDK_ALL_ABIS=x86_64 NDK_DEBUG=1 NDK_OUT=/node_modules/react-native-screens/android/build/intermediates/cxx/Debug/70547186/obj NDK_LIBS_OUT=/node_modules/react-native-screens/android/build/intermediates/cxx/Debug/70547186/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=android/app/build/generated/source PROJECT_BUILD_DIR=/android/app/build REACT_ANDROID_DIR=/android/../node_modules/react-native/ReactAndroid REACT_ANDROID_BUILD_DIR=/android/../node_modules/react-native/ReactAndroid/build APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
Android NDK: ERROR:/node_modules/react-native-screens/android/src/main/jni/Android.mk:fb: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that /android/app/build/react-ndk/exported/x86_64/libfb.so exists or that its path is correct
fcntl(): Bad file descriptor
/Library/Android/sdk/ndk/24.0.8215888/build/core/prebuilt-library.mk:51: *** Android NDK: Aborting . Stop.
The text was updated successfully, but these errors were encountered: