Eclipse的Andr​​oid SDK中包无法打开Android SDK中管理器 [英] Eclipse android sdk bundle can't open Android SDK Manager

查看:119
本文介绍了Eclipse的Andr​​oid SDK中包无法打开Android SDK中管理器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的新的笔记本电脑(窗口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:\Windows\system32\java.exe

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

How can i fix that ??

推荐答案

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

In android_sdk\tools\lib 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:\windows\system32\java.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 .

这篇关于Eclipse的Andr​​oid SDK中包无法打开Android SDK中管理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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