SDK is not loaded yet解决方法

 部分网友可能会发现,更新了Android 1.5 SDK可能出现,Unknown error: SDK is not loaded yet的提示信息,同时还会有如下

trouble processing "java/awt/font/NumericShaper.class":

Attempt to include a core VM class in something other than a core library.It is likely that you have attempted to include the core library from a desktop virtual machine into an application, which will most assuredly not work. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine binary, as opposed to compiling an application -- then use the "--core-library" option to suppress this error message. If you go ahead and use "--core-library" but are in fact building an application, then please be aware that your build will still fail at some point; you will simply be denied the pleasure of reading this helpful error message.

  类似的还可能有 1 error; aborting 以及  Conversion to Dalvik format failed with error 1的错误信息,目前原因在在于引用的JAR Library存在问题,从Android 1.5开始发现Google每次更新SDK时各种问题接种而来,可以尝试下面的方法解决:

  创建一个空的工程类似Hello World,然后在该Project的根目录下面找到 .classpath 文件,覆盖到存在该错误的项目中,.classpath的完整内容为:

 

 
 
 
 

你可能感兴趣的:(android运行中常见错误)