[英]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. 我找不到使用ADT插件在Eclipse Juno上设置NDK路径的选项。 (I downloaded yesterday the ADT Bundle from the Android site).
(我昨天从Android网站下载了ADT捆绑包)。
Everyone says I should find it under Windows -> Preferences -> Android -> NDK but the option NDK under Android simply does not exists. 每个人都说我应该在Windows-> Preferences-> Android-> NDK下找到它,但是Android下的NDK选项根本不存在。 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.
无论如何,我似乎找不到在Eclipse中更改NDK路径的方法。
Picture: 图片:
I'm feeling like I'm missing something really obvious here... 我感觉好像在这里想念的东西很明显...
Fix this problem by install 'Developer Tools' 通过安装“开发人员工具”解决此问题
From Eclipse -> Help -> Install New Software... -> 从Eclipse->帮助->安装新软件...->
select: "Android Developer Tools Update Site - https://dl.google.com/android/eclipse/ " 选择:“ Android开发人员工具更新网站-https: //dl.google.com/android/eclipse/ ”
uncheck "Contact all update sites during install to find required software" option 取消选中“在安装过程中联系所有更新站点以查找所需的软件”选项
check and install "Developer Tools" 检查并安装“开发人员工具”
you need re-install the ADT-23.0.4.zip
(Don't forget select the Android Native Development Tools); 您需要重新安装
ADT-23.0.4.zip
(不要忘记选择Android Native Development Tools);
Please have a look at this Android SDK page . 请查看此Android SDK页面 。
You should: 你应该:
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.jar
from the older ADT installation I had, which showed the NDK option from the \\eclipse\\plugins
folder. 从我以前安装的ADT中获取了文件
com.android.ide.eclipse.ndk_22.3.0.v201310242005-887826.jar
,该文件显示了\\eclipse\\plugins
文件夹中的NDK选项。
Renamed it to com.android.ide.eclipse.ndk_23.0.2.1259578.jar
. 将其重命名为
com.android.ide.eclipse.ndk_23.0.2.1259578.jar
。
Pasted it in adt-bundle-windows-x86_64-20140702\\eclipse\\plugins
将其粘贴到
adt-bundle-windows-x86_64-20140702\\eclipse\\plugins
Restarted Eclipse. 重新启动Eclipse。
Hi NDK! 嗨,NDK!
I hope this won't cause any problems in the future! 希望以后不会造成任何问题!
After: 后:
The Preferences->Android->NDK setting appeared and I was able to set the NDK path. 出现了Preferences-> Android-> NDK设置,我能够设置NDK路径。
我遇到了同样的问题,我不知道为什么,但是问题出在Eclipse / Juno版本,所以我在eclipse页面上下载了Keplerversión并安装了adt的插件,并且一切正常。
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. 我在使用最新的Eclipse Luna和ADT插件时遇到了这个问题-事实证明,尽管在Eclipse Luna中安装了CDT和Android Native Developer Tools插件,但它们都无法正常工作。
The cause was that I was using the Apple Java 1.6 (which is Java 6), and Luna "requires" a Java 7 VM. 原因是我使用的是Apple Java 1.6(即Java 6),而Luna“需要”一个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:
为了解决这个问题,我安装了来自Oracle的最新JDK,然后更新了Eclipse.app捆绑包中的Eclipse.ini文件,添加了以下两行:
-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java
just before the line that is -vmargs
. 就在
-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. 然后,当我重新启动Eclipse时,正确地使用了
Eclipse -> Preferences...
列出了一些以前没有的C ++设置,并且Android部分有一个NDK条目,允许指定路径。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.