Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Can not build Project with NDK-Build.cmd from NDK r7

When I try to build my android project with JNI, with Android NDK r7. I can not build the project and come to this error. Platform- Win Xp SP2 with ndk-build.cmd file that according to developers doc, doesn't need to run from cygwin...

usr/bin/sh: del: command not found
make: *** [clean-installed-binaries] Error 127

This message indicates that my project is not built properly. Specifically my static library [so file] is not properly linked with apk.

NB: I could build with older versions of NDK.....

What is wrong here? According to other posts on internet I have checked that java bin is on windows path.

like image 314
Prasham Avatar asked Jan 23 '26 01:01

Prasham


1 Answers

I fixed this problem by removing C:\cygwin\bin from PATH

like image 75
Qingping He Avatar answered Jan 24 '26 17:01

Qingping He



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!