该文件dx.jar未从SDK文件夹装 [英] The file dx.jar was not loaded from the SDK folder

查看:2027
本文介绍了该文件dx.jar未从SDK文件夹装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到这个错误,当我副本的Andr​​oid SDK文件夹从我的朋友的桌面我的。
我改变了我的preferences SDK的路径和它告诉我更新我的ADT,我试图做的,但无法,因为它给了我,它不能重命名我的文件夹名称错误。
我还试图删除我的previous SDK文件夹,但失败了。
然后,我还重新安装在我的Eclipse靛蓝,没有成功的插件。
我dx.jar在做平台的工具lib文件夹存在。
有人可以帮忙吗?

I am getting this error when I copies Android SDK folder from my friend's desktop to mine. I changed the path of my SDK in preferences and it told me to update my ADT which I tried to do but was unable as it gave me errors that it cannot rename my folder name. I also tried to delete my previous SDK folder but failed. Then also I have reinstalled the plugin in my Eclipse Indigo, no success. My dx.jar do exist in lib folder of platform-tools. Can some one help?

推荐答案

这是由在VirtualStore旧版本的 dx.jar 的存在引起的(一个文件夹其中,windows存储的系统和程序文件的用户版本)。
转到C:\\用户\\<您的用户名称> \\ AppData的\\本地\\ VirtualStore \\< Android的SDK路径>中,并删除所有内容,或只在\\平台工具\\ lib目录\\ dx.jar文件。

This is caused by the existence of an older version of dx.jar in the VirtualStore (a folder where windows stores user versions of system and program files). Go to "C:\Users\<your user name>\AppData\Local\VirtualStore\<android-sdk path>" and delete all the content, or just the "\platform-tools\lib\dx.jar" file.

例如:如果您的用户名是USER32和Android SDK放在C:\\ Program Files文件\\的Java \\ android- SDK,在更新后,你可能有 dx.jar 过时版本C:\\用户\\ USER32 \\应用程序数据\\本地\\ VirtualStore \\ Program Files文件\\的Java \\ Android的SDK \\平台工具\\ lib目录\\

i.e: if your user name is "user32" and your android SDK is placed in "C:\Program Files\Java\android-sdk", after the update you'll probably have an obsolete version of dx.jar in "C:\Users\user32\AppData\Local\VirtualStore\Program Files\Java\android-sdk\platform-tools\lib\"

这篇关于该文件dx.jar未从SDK文件夹装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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