Failed to start React-Native UIExplorer project

I am trying to run a UIExplorer project on Windows. I get the following error:

... ... make: *** [D:\react-native\ReactAndroid\build\tmp\buildReactNdkLib/local/ armeabi-v7a/objs/reactnativejni/JExecutorToken.o] Error 2 ... ... What went wrong: Execution failed for task ':ReactAndroid:buildReactNdkLib'. > Process 'command 'C:\android-ndk-r11b\ndk-build.cmd'' finished with non-zero exit value 2 ... ... Caused by: org.gradle.process.internal.ExecException: Process 'command 'C:\android-ndk-r11b\ndk-build.cmd'' finished with non-zero exit value 2 

Is there a chance to overcome this problem?

+5
android android-ndk react-native ndk-build
source share
1 answer

React Native 0.22 does not support the latest Android NDK (r11) because it needs a pre-built gcc 4.8 that is not part of r11.

You should use Android NDK r10e:

+12
source share

All Articles