02-21-2013, 05:28 AM
That ndk-build doesn't work is probably because you didn't set up your PATH variable (it's missing from the tutorial, and wasn't/am still not sure if this is needed).
You could try opening up "C:\cygwin\home\<username>\.bash_profile" and add to the bottom of that file:
or whatever your path to the android NDK is.
If that doesn't work you could try calling the ndk-build executable directly from the MCServer/Android directory
![[Image: 2yxqkc2.jpg]](http://oi48.tinypic.com/2yxqkc2.jpg)
As for the Eclipse error, you could try doing a "Refresh"
![[Image: 2zjfamu.jpg]](http://oi47.tinypic.com/2zjfamu.jpg)
Try "Clean"ing the project
![[Image: 16732x4.jpg]](http://oi47.tinypic.com/16732x4.jpg)
And clear android lint markers
![[Image: 2z50x1c.jpg]](http://oi46.tinypic.com/2z50x1c.jpg)
I have no idea if any of these things will fix it
You could try opening up "C:\cygwin\home\<username>\.bash_profile" and add to the bottom of that file:
Code:
PATH="/cygdrive/d/android-ndk-r8/:${PATH}"
If that doesn't work you could try calling the ndk-build executable directly from the MCServer/Android directory
![[Image: 2yxqkc2.jpg]](http://oi48.tinypic.com/2yxqkc2.jpg)
As for the Eclipse error, you could try doing a "Refresh"
![[Image: 2zjfamu.jpg]](http://oi47.tinypic.com/2zjfamu.jpg)
Try "Clean"ing the project
![[Image: 16732x4.jpg]](http://oi47.tinypic.com/16732x4.jpg)
And clear android lint markers
![[Image: 2z50x1c.jpg]](http://oi46.tinypic.com/2z50x1c.jpg)
I have no idea if any of these things will fix it