React Native Compilation error: Reactandroid:buildreactndklib FAILED

Source: Internet
Author: User

Error output in the following:

[ARMEABI-V7A] compile++: Reactnativejni <= dummy.cppmake:/users/qisen/adt-bundle/android-ndk-r12b/toolchains/ arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++: No such file or directory[ ARMEABI-V7A] compile++: REACTNATIVEJNIFB <= catalystinstanceimpl.cpp[armeabi-v7a] Compile++: Reactnativejni FB <= cxxmodulewrapper.cppmake: * * * [/users/qisen/tmp/node/react-native/reactandroid/build/tmp/buildreactndklib /LOCAL/ARMEABI-V7A/OBJS/REACTNATIVEJNI/DUMMY.O] Error 1make: * * * waiting for unfinished Jobs....make:/Users/qisen/ adt-bundle/android-ndk-r12b/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/ arm-linux-androideabi-g++: No Such file or Directorymake:/users/qisen/adt-bundle/android-ndk-r12b/toolchains/ arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++: No Such file or directorymake: * * * [/ Users/qisen/tmp/node/react-native/reactandroid/build/tmp/buildreactndklib/local/armeabi-v7a/objs/reactnatIVEJNIFB/CXXMODULEWRAPPER.O] Error 1make: * * * [/users/qisen/tmp/node/react-native/reactandroid/build/tmp/ BUILDREACTNDKLIB/LOCAL/ARMEABI-V7A/OBJS/REACTNATIVEJNIFB/CATALYSTINSTANCEIMPL.O] Error 1:ReactAndroid: Buildreactndklib Failedfailure:build failed with a exception.* what went wrong:execution failed for task ': reactandroid: Buildreactndklib ' .> Process ' command '/users/qisen/adt-bundle/android-ndk-r12b/ndk-build ' finished with Non-zero Exit value Try:run with--STACKTRACE option to get the stack trace. Run with--info or--debug option to get more log output. BUILD failedtotal time:20.673 secs

  

Because the NDK version is not correct, must gcc4.8, please select the Android ndk r10e corresponding system download installation, you need to bring your own ladder.

React Native Compilation error: Reactandroid:buildreactndklib FAILED

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.