不能升级蚀或Android ADK并不能找到的java.exe ... hunh? [英] Can't upgrade eclipse or Android ADK and can't find java.exe...hunh?

查看:120
本文介绍了不能升级蚀或Android ADK并不能找到的java.exe ... hunh?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的挫折感跑来了。两个半小时后,我把自己在这里的当地人的摆布。
长时间的面向对象的开发者,看着Android的,所以必须学习Java ...
得到了日食,得到它的成立建立和运行从developer.android.com站点HelloAndroid样本。
然后在开始的Andr​​oid本书试图一对夫妇更.....无一不精

My frustration runneth over. After two and a half hours, I throw myself on the mercy of the locals here. Long-time oo developer, looking at Android, so have to learn Java... Got eclipse, got it set up to build and run the HelloAndroid sample from the developer.android.com site. Then tried a couple more in a Beginning Android book.....all fine

这时才意识到我应该用直的Java坚持之前,我去深入探讨Android版,并开始与从Java的一些例子为Android开发者...
过了好一会儿,却得到了该工作......

Then realized I should stick with the straight Java before I went much deeper into Android, and started with some examples from Java for Android Developers... Took a while, but got that working...

现在我想回去建设一些基本的Andr​​oid应用程序。于是我又回到了运行HelloAndroid应用程序。
还是跟我?结果
控制台在eclipse说:错误:未知的命令'紧缩'

Now I'd like to get back to building some basic Android apps. So I went back to run that HelloAndroid app. Still with me?
Console in eclipse says: "ERROR: Unknown command ‘crunch’

于是,我怎么在这里推荐:
http://www.technotalkative.com/android-error-unknown-command-紧缩/
基本上说,让你的SDK发布到R14。
好吧,因为我意识到我的SDK已经得到了旧的(目前为R10)

So I tried what's recommended here: http://www.technotalkative.com/android-error-unknown-command-crunch/ which basically says 'get your SDK release up to r14. Fine, because I realized my SDK had gotten old (currently at r10)

除了试图从Eclipse中的Andr​​oid SDK中做到这一点引发此错误几次:
的文件夹无法移动,并要求关闭一切,除了我的立体声(这是一个笑话)以释放文件或文件夹。

Except trying to do this from the Android SDK in eclipse throws this error several times: "A folder failed to move" and asks to turn off everything except my stereo (that's a joke) to release the file or folder.

一些研究表明我这是废话,那件事是从运行它要重命名文件夹的更新,所以我尽量跑这里找到的建议:
<一href=\"http://stackoverflow.com/questions/8559682/cant-upgrade-to-android-sdk-tools-revision-16\">Can't升级至Android SDK工具,修订16

Some research shows me that's crap, that the thing is running the update from the folder it wants to rename, so I try to run the suggestions found here: Can't upgrade to Android SDK Tools, revision 16

做的文件夹复制和运行新的文件夹的android.bat,与PARMS,从控制台。

doing the folder copy and running the new folder's android.bat, with parms, from the console.

和我得到的错误:没有合适的Java发现
显然,find_java.bat只查找在C的java.exe:\\ Program Files文件\\的Java(64位和定期)。
我期待我的电脑上,它是在C:\\ Program Files文件(x86)的\\的Java \\ jdk1.6.0_21 \\ bin并在C:\\ Program Files文件(x86)的\\的Java \\ JRE6 \\ BIN

And I get "ERROR: No suitable Java found." Apparently, the find_java.bat only looks for java.exe in c:\Program Files\Java (64-bit and regular). I look on my PC and it's in c:\Program Files (x86)\Java\jdk1.6.0_21\bin and in c:\Program Files (x86)\Java\jre6\bin

奖金灾害:
试图运行我的的Java更新(在系统托盘显示),因为它说,有可用的更新,但无法下载或更新。现在,没有图标...

BONUS DISASTERS: Tried to run my Java Updater (showing in the systray) since it said there were updates available, but could not download or update. Now, no icon...

当我试图从它的帮助菜单更新日食(建20100218-1602),因为在相同的计算器QNA线程('你需要的Eclipse 3.6赫利俄斯或3.7编号Indico升级ADT修订16')推荐这个失败了。
Android的碎片(DDMS,开发工具,层次浏览器和Traceview)的四个可用的更新都失败,因为每个要求'org.eclipse.ui 3.6.2,但它不能被发现。

And when I tried to update eclipse (build 20100218-1602) from its 'help' menu, as recommended at the same stackoverflow QnA thread('you need Eclipse 3.6 Helios or 3.7 Indico to upgrade your ADT revision 16.') this failed too. Four Available Updates of Android pieces (DDMS, Development tools, Hierarchy Viewer and Traceview) all fail because each " requires 'org.eclipse.ui 3.6.2' but it could not be found. "

刚跑到一个简单的Java项目,一是我已经建立,并从一本书的样本教训。冉在日食。与无法找到,显然是java的。正常工作......我失去了纸牌游戏到电脑。

Just ran a simple java project, one I'd already built and learned from a book's sample. Ran in eclipse. With the java that can't be found, apparently. Works fine...I lost the card game to the computer.

也许这将是更流畅和更简单的只买一个的Mac mini和学习ObjectiveC。妻子的已经有了一个iPad ...

Maybe it would be smoother and simpler to just buy a Mac mini and learn ObjectiveC. The wife's already got an iPad...

推荐答案

机会是你没有的Java安装到正在运行的PATH环境,因此它无法找到Java。有步骤,它添加到您但是运行环境;它每个OS改变。特别是,如果你要修复它..你需要把它变成你的PATH.xs

Chances are you dont have java installed into your running PATH environment, and as such it can't find the java. There are steps to add this to your runtime environment, however; it change per OS. Specifically, if you want to fix it.. you need to put it into your PATH.xs

这篇关于不能升级蚀或Android ADK并不能找到的java.exe ... hunh?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆