android – Eclipse Juno ADT plugin NDK path removed?-ThrowExceptions

Exception or error:

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.

Picture:
enter image description here

I’m feeling like I’m missing something really obvious here…

How to solve:

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.

You should:

  1. Download ADT-23.0.4.zip.
  2. Just re-install.
  3. Restart.
  4. 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,

  1. Grabbed the file com.android.ide.eclipse.ndk_22.3.0.v201310242005-887826.jar from the older ADT installation I had, which showed the NDK option from the \eclipse\plugins folder.

  2. Renamed it to com.android.ide.eclipse.ndk_23.0.2.1259578.jar.

  3. Pasted it in adt-bundle-windows-x86_64-20140702\eclipse\plugins

  4. Restarted Eclipse.

  5. Hi NDK!

I hope this won’t cause any problems in the future!

###

After:

  1. Closing Eclipse Luna Service Release 1a (4.4.1) for Mac OS X.
  2. Installing Oracle Java JDK 1.7 (JDK 7u75) (jdk-7u75-macosx-x64.dmg)
  3. Modifying Eclipse.ini to add the two lines (right before -vmargs):
    -vm
    /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/bin/java
  4. Restarting Eclipse.
  5. Going to Preferences->Java->Installed JREs, clicking “Search”, and selecting Java SE 7 (1.7.0_75) as the default JRE
  6. 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:

-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java

just before the line that is -vmargs.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *