Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android-NDK-Add Native Support-NDK location not valid in preferences

I'm trying to use the debug mode 'Debug As' 'Android Native Application', the console says I need to add native support.

However, when I follow the instructions, it shows as the following picture:

enter image description here

What should I do with the 'NDK location not valid in preferences'?

Any advice would be helpful. I'm new on this. Thx.

  • The sample is the NDK sample 'hello-jni'.
like image 674
Brendon Tsai Avatar asked Aug 08 '13 09:08

Brendon Tsai


1 Answers

Check whether you have specified valid NDK locatioin in Eclipse: Window -> Preferences -> Android -> NDK

like image 123
yushulx Avatar answered Oct 31 '22 21:10

yushulx