I can’t find the option to set the NDK path on Eclipse Juno with the ADT plugin. (I downloaded yesterday the ADT Bundle from the Android site).
Everyone says I should find it under Windows -> Preferences -> Android -> NDK but the option NDK under Android simply does not exists. Maybe they changed it’s location in the recent version? Anyway I can’t seem to find a way to change the NDK path in my Eclipse.
I’m feeling like I’m missing something really obvious here…
you need re-install the
ADT-23.0.4.zip (Don’t forget select the Android Native Development Tools);
Please have a look at this Android SDK page.
- Download ADT-23.0.4.zip.
- Just re-install.
- You will see Eclipse > Window > Android > NDK tag.
Fix this problem by install ‘Developer Tools’
From Eclipse -> Help -> Install New Software… ->
select: “Android Developer Tools Update Site – https://dl.google.com/android/eclipse/“
uncheck “Contact all update sites during install to find required software” option
check and install “Developer Tools”
I faced the same problem. It was annoying to waste those few hours, but I guess I figured it out.
What I did was,
Grabbed the file
com.android.ide.eclipse.ndk_22.3.0.v201310242005-887826.jarfrom the older ADT installation I had, which showed the NDK option from the
Renamed it to
Pasted it in
I hope this won’t cause any problems in the future!
- Closing Eclipse Luna Service Release 1a (4.4.1) for Mac OS X.
- Installing Oracle Java JDK 1.7 (JDK 7u75) (jdk-7u75-macosx-x64.dmg)
- Modifying Eclipse.ini to add the two lines (right before -vmargs):
- Restarting Eclipse.
- Going to Preferences->Java->Installed JREs, clicking “Search”, and selecting Java SE 7 (1.7.0_75) as the default JRE
- Restarting Eclipse
The Preferences->Android->NDK setting appeared and I was able to set the NDK path.
I had the same issue, i dont know why, but the problems is with the Eclipse/Juno version, so i download in the eclipse page the Kepler versión and install the pluggin of adt, And all works just fine.
I had this issue with the latest Eclipse Luna and the ADT plugin – it turned out despite both the CDT and Android Native Developer Tools plugins being installed in Eclipse Luna they were not working.
The cause was that I was using the Apple Java 1.6 (which is Java 6), and Luna “requires” a Java 7 VM. No warnings were provided though! To solve it I installed the latest JDK from Oracle, and then updated the Eclipse.ini file inside the Eclipse.app bundle, adding the 2 lines:
just before the line that is
Then when I restarted Eclipse, the CDT was correctly being used
Eclipse -> Preferences... listed some C++ settings that were not previously there, and the Android section had an NDK entry the allowed to specify the path.