I have no idea what's going on. I have been following some tutorials, and have properly set up my project with the NDK. I did mess around with things a bit last week, but my project still seems to work correctly. I am trying to find the NDK path but the tab is no longer there... <img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/NfK3g.png" data-original="https://i.stack.imgur.com/NfK3g.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" />
The Native Development tab should be where the red bar is. I know it was there sometime last week. Is it possible I deleted something from eclipse that would remove this tab?Answer1:
There could be a problem with loading the NDK plugin. One thing you can do is open the Error Log view (menu Window > Show View > Error Log.)
This lists all errors internal to Eclipse. I recommend erasing the whole log and restarting Eclipse. Then you will see the errors related to loading plugins. I bet the problem is listed there.Answer2:
Problem solved. The address to where I unzipped my NDK folder wasn't added to my computer's PATH variable. Strange, as I distinctly remember doing that at one point, but until that address is added to the PATH variable the option just doesn't show up in Eclipse.
If anyone knows of anyway that the PATH variable is changed other than through the users doing, please let me know. I don't remember editing the PATH variable and have no idea why I would have.
For Windows 7 Professional :
<strong>Start</strong>-><strong>Right Click On Computer</strong>-><strong>Properties</strong>-><strong>Advanced System Settings</strong>-><strong>Environment Variables</strong>
I had already had a
Path variable under
System variables, and a
PATH variable under
In both variables, I added the address to my NDK folder. Separate the new address from the one already existing inside with a semi-colon.
The tutorial that helped me figure this out is <a href="http://permadi.com/blog/2011/09/setting-up-android-jni-projects-in-windows-eclipse-and-sequoyah/" rel="nofollow">here at step #5</a>