Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Juno ADT plugin NDK path removed?

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...

like image 989
UnTraDe Avatar asked Jul 13 '14 14:07

UnTraDe


4 Answers

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"

like image 157
tryer3000 Avatar answered Oct 18 '22 07:10

tryer3000


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.
like image 23
user1667823 Avatar answered Oct 18 '22 06:10

user1667823


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!

like image 27
diszonant Avatar answered Oct 18 '22 08:10

diszonant


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.

like image 43
Terry Walker Avatar answered Oct 18 '22 08:10

Terry Walker