Skip to content
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

[Windows] Process 'command 'E:\android-ndk-r10e\ndk-build.cmd'' finished with non-zero exit value 2 #3107

Closed
szhupeng opened this issue Sep 29, 2015 · 17 comments
Labels
Platform: Windows Building on Windows. Resolution: Locked This issue was locked by the bot.

Comments

@szhupeng
Copy link

Error:Execution failed for task ':ReactAndroid:buildReactNdkLib'.

Process 'command 'E:\android-ndk-r10e\ndk-build.cmd'' finished with non-zero exit value 2

@foghina
Copy link
Contributor

foghina commented Sep 29, 2015

It looks like you're trying to build the platform on Windows. This is not supported yet. Assigning to @mkonicek as he knows more about this.

@foghina foghina assigned mkonicek and unassigned foghina Sep 29, 2015
@szhupeng
Copy link
Author

Thank you, but I heard that the react - native Windows platform is currently supported
@mkonicek did you know?

@brentvatne brentvatne changed the title Process 'command 'E:\android-ndk-r10e\ndk-build.cmd'' finished with non-zero exit value 2 [Windows] Process 'command 'E:\android-ndk-r10e\ndk-build.cmd'' finished with non-zero exit value 2 Sep 30, 2015
@satya164 satya164 added the Platform: Windows Building on Windows. label Dec 24, 2015
@ck227
Copy link

ck227 commented Mar 5, 2016

i have meet the same problem

@CoderStav
Copy link

Is Windows still not supported? Having the same issue here.

@ck227
Copy link

ck227 commented Mar 17, 2016

@JimmyStavros i change the ndk to r9, solve the problem

@CoderStav
Copy link

@ck227 Were you trying to compile the examples too? That's what I've been trying to do all night.

@ck227
Copy link

ck227 commented Mar 17, 2016

@JimmyStavros yes,i spent a lot of time run the UIExporer but failed with the issue blow #6331 (comment) ,

i found the solution here, #6260
but i cant understand it well,so i give up with the demos.

@CoderStav
Copy link

@ck227 shame, guess I should just make my life easier and develop on an ubuntu image until they roll out some serious windows support. :(

@ck227
Copy link

ck227 commented Mar 17, 2016

@JimmyStavros we should develop on a mac , windows support is really a piece of shit

@CoderStav
Copy link

@ck227 it's frustrating since Windows has partial support, I was able to breeze through the getting started tutorial. Since I was able to write the tutorial app I thought I'd be able to make the examples compile somehow...

@ck227
Copy link

ck227 commented Mar 17, 2016

@JimmyStavros can u help me out with this issue? #6331 (comment)
really want to solve it since i have already spent lots of time.

@CoderStav
Copy link

@ck227 I can look, though don't know how much help I can be. Looks like your ndk solution worked for me; waiting to see if I hit the same hurdle now.

@ck227
Copy link

ck227 commented Mar 17, 2016

@JimmyStavros thx, hope u will, ahahaha :-D

@mkonicek mkonicek removed their assignment Mar 17, 2016
@mkonicek
Copy link
Contributor

Windows support is community responsibility as people on the RN team at fb don't have Windows machines. Developing RN apps on Windows should work now but I don't know the status of building React Native itself.

If someone can figure out a fix for this and share it or send a pull request that would be awesome. It would help others using Windows.

@mkonicek
Copy link
Contributor

can u help me out with this issue? #6331 (comment)

Looking at comments on #6311 there might already be a fix in #6260, merged 6 days ago. This means it will be part of RN 0.23.0-rc which will be released next week.

@mkonicek
Copy link
Contributor

For the Gradle error:

Process 'command 'E:\android-ndk-r10e\ndk-build.cmd'' finished with non-zero exit value 2

You'll need to look at what's printed before to see the actual error message from Gradle.

ndk-build is the part of the Gradle build that compiles C++ code.

@satya164
Copy link
Contributor

satya164 commented Jul 4, 2016

Closing this since there has been no response from the author regarding more details. Please try with latest version as we've better windows support now. Let's reopen if this issue still exists.

@satya164 satya164 closed this as completed Jul 4, 2016
@facebook facebook locked as resolved and limited conversation to collaborators Jul 21, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: Windows Building on Windows. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

8 participants