Unable to run React-Native UIExplorer example project
Asked Answered
T

1

5

I've been trying to run UIExplorer project on Windows. I am getting 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 any chance to overcome this issue?

Tiber answered 24/3, 2016 at 20:50 Comment(0)
A
13

React Native 0.22 doesn't support the last Android NDK (r11) because it needs the prebuilt gcc 4.8 which is not included into r11.

You must use the Android NDK r10e :

Administrative answered 25/3, 2016 at 2:32 Comment(3)
Because of of another problem I had deleted the r10e version. Thanks. It works.Tiber
This is happening for me but I am using ndk-r10e. What is "the prebuilt 4.8"?Bekah
@MichaelFulton gcc 4.8Administrative

© 2022 - 2024 — McMap. All rights reserved.