Eclipse Juno ADT plugin NDK path removed?

后端 未结 6 2046
深忆病人
深忆病人 2020-12-03 03:28

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 shou

相关标签:
6条回答
  • 2020-12-03 03:51

    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.
    0 讨论(0)
  • 2020-12-03 03:55

    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.

    0 讨论(0)
  • 2020-12-03 03:57

    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!

    0 讨论(0)
  • 2020-12-03 04:01

    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.

    0 讨论(0)
  • 2020-12-03 04:05

    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"

    0 讨论(0)
  • 2020-12-03 04:07

    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.

    0 讨论(0)
提交回复
热议问题