Eclipse的Andr​​oid SDK中包无法打开Android SDK中管理器管理器、无法打开、Andr、Eclipse

由网友(红颜倾城笑さ)分享简介:我在我的新的笔记本电脑(窗口7 64位)下载新的Andr​​oid和Eclipse包然后我打开我的,我用的PC.When我打开上班的旧文件,它将显示版本API的一些错误,我应该修正它在SDK管理器,但是当我尝试打开SDK管理器将无法运行,并显示在控制台此错误。I downloaded new Android and...

我在我的新的笔记本电脑(窗口7 64位)下载新的Andr​​oid和Eclipse包然后我打开我的,我用的PC.When我打开上班的旧文件,它将显示版本API的一些错误,我应该修正它在SDK管理器,但是当我尝试打开SDK管理器将无法运行,并显示在控制台此错误。

I downloaded new Android and Eclipse bundle in my new notebook (Window 7 64 bit) then I open my old files that I used to work in PC.When I open, it shows some error about version API and that I should fix it in SDK Manager, But when I try to open the SDK Manager it won't run and shows this error in console.

[2555-11-20 10:27:27 - Dex Loader] SecurityException: Unable to find field for dex.jar
[2555-11-20 10:36:02 - SDK Manager] [SDK Manager] Failed to convert path to a short DOS path: C:Windowssystem32java.exe

我怎样才能解决这个问题?

How can i fix that ??

推荐答案

android_sdk 工具 LIB 有一个名为 find_java一个批处理文件。蝙蝠。它调用 find_java.exe -S 来寻找潜在的Java位置的列表。运行 exe文件文件中像这样将返回错误我已经看到:

In android_sdktoolslib there's a batch-file called find_java.bat. It calls find_java.exe -s to find a list of potential Java locations. Running the exe file like this returns the error I've been seeing:

Failed to convert path to short DOS path: c:windowssystem32java.exe

-S 代表短。不运行它 -S 导致find_java.exe工作,导致find_java.bat工作,使一切工作。因此,修复程序是编辑find_java.bat,并删除 -S

-s stands for short. Running it without the -s causes find_java.exe to work, causing find_java.bat to work, causing everything else to work. So the fix was to edit find_java.bat, and remove the -s .

阅读全文

相关推荐

最新文章