12

android-ndk error

I'm trying to setup ndk to work with in eclipse. I keep getting this message saying that ndk-build isn't found in path. I've added it to Environment Variables->Path but still not working.

Any help?!

omarsafwany
  • 3,695
  • 8
  • 44
  • 75
  • you have mistake in your path , instead of `c:\android-ndk-r8e\ndk-build` use `C:\android-ndk-r8e` – Lucifer May 01 '13 at 03:36

3 Answers3

12

Right click on your project , Go to Build Path->Select Configure Build Path -> Select C/C++ Build->Select Builder Setting Tab ->In Builder Setting set your ndk-build path i.e C:\android-ndk-r8e\ndk-build.

Mark van Lent
  • 12,641
  • 4
  • 30
  • 52
user1969053
  • 1,750
  • 1
  • 12
  • 12
12

The answer is here: https://stackoverflow.com/a/11825963/918535

//goto Preference → Android → NDK and choose your ndk location

Community
  • 1
  • 1
BenDroid
  • 137
  • 1
  • 8
1

If you are using eclipse for Windows try to link to ndk-build.cmd. It worked for me.

alekandro
  • 11
  • 1
  • 4