Specifications
packagescanbeavoided.Itisrecommendedyouusetheabovenamingschemesothatthere
isnoquestionwhichversionoftheADTbundleandtheNDKareinstalled.
YoucanreadmoreaboutinstallationanduseoftheNDKhere:
http://developer.android.com/tools/sdk/ndk/index.html#installing
ConfigureEclipseforNDKUsage
LaunchEclipseandgototheADT>Preferenceswindow.
UnderAndroid,verifythatEclipseknowsthelocationoftheAndroidDevelopmentTools.Ifthe
NDKoptionismissinginthePreferences>Androidsection,updatetheEclipseADTPluginas
follows:
1. DownloadandinstalltheEclipseADTPlugin.
(a)IntheEclipsemenugoto:Help>InstallNewSoftware.
(b)ClickAddinthetoprightcorner.
(c)IntheAddRepositorydialogthatappears,enter“ADTPlugin”fortheNameandthe
followingURL:
https://dlssl.google.com/android/eclipse
(d)ClickOK.
(e)IntheAvailableSoftwaredialog,selectthecheckboxforDeveloperToolsandclick
Next.
(f)ClickOK.
(g)Inthenextwindow,you’llseealistoftoolstobedownload.ClickNext.
(h)Readandacceptthelicenseagreements,thenclickFinish.ClickOKifyougetany
promptsregardingthesecurityandauthenticityofthesoftware.
(i)Whentheinstallationcompletes,restartEclipse.
2. ConfiguretheNDKpath:
(a)IntheEclipsemenugoto:Window>Preferences>Android.
(b)UnderAndroidselectNDK.
(c)SettheNDKLocationfieldtothedirectorywheretheNDKisinstalled.
23










