The file dx.jar was not loaded from the SDK folder

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?


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>AppDataLocalVirtualStore<android-sdk path>" and delete all the content, or just the "platform-toolslibdx.jar" file.

ie: if your user name is "user32" and your android SDK is placed in "C:Program FilesJavaandroid-sdk" , after the update you'll probably have an obsolete version of dx.jar in "C:Usersuser32AppDataLocalVirtualStoreProgram FilesJavaandroid-sdkplatform-toolslib"

链接地址: http://www.djcxy.com/p/63516.html

上一篇: Android Studio:无法加载dx.jar

下一篇: 文件dx.jar未从SDK文件夹加载