无法 运行 React-Native UIExplorer 示例项目

Unable to run React-Native UIExplorer example project

我一直在尝试 运行 Windows 上的 UIExplorer 项目。我收到以下错误-

...
...
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

有没有机会解决这个问题?

React Native 0.22 不支持最后一个 Android NDK (r11),因为它需要预构建的 gcc 4.8,而 r11 中没有。

您必须使用 Android NDK r10e :