Specifications

ThelatestversionofNDKisavailablefordownloadatthefollowinglocation:
https://developer.android.com/tools/sdk/ndk/index.html
Oncedownloaded,installNDKtoyourAndroiddevelopmentfolder,e.g.:
C:\Dev\Android\androidndkr10c\.
AddtheNDKlocationtoyourPATH,e.g.:
C:\Dev\Android\androidndkr10c\.
AddtheenvironmentvariableANDROID_NDKwhichshouldbesettoyourAndroidNDK
location,e.g.:
C:\Dev\Android\androidndkr10c.
setANDROID_NDK=C:\Dev\Android\androidndkr10c
ConfigureEclipseforNDKUsage
1. StartEclipsefromthelocationitwasinstalledto,e.g.:
C:\Dev\Android\adtbundlewindowsx86_6420140702\eclipse\eclipse.exe.
2. DownloadandinstalltheEclipseADTPlugin.
(a)IntheEclipsemenugoto:Help>InstallNewSoftware.
(b)ClickAddinthetoprightcorner.
(c)IntheAddRepositorydialogthatappears,enter“ADTPlugin”fortheNameandthe
followingURL:
https://dlssl.google.com/android/eclipse
(d)ClickOK.
(e)IntheAvailableSoftwaredialog,selectthecheckboxforDeveloperToolsandclick
Next.
(f)ClickOK.
(g)Inthenextwindow,you’llseealistoftoolstobedownload.ClickNext.
(h)Readandacceptthelicenseagreements,thenclickFinish.ClickOKifyougetany
promptsregardingthesecurityandauthenticityofthesoftware.
(i)Whentheinstallationcompletes,restartEclipse.
3. ConfiguretheNDKpath:
(a)IntheEclipsemenugoto:Window>Preferences>Android.
(b)UnderAndroidselectNDK.
(c)SettheNDKLocationfieldtothedirectorywheretheNDKisinstalled.
16