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的完整内容为:

  <?xml version="1.0" encoding="UTF-8"?>
<classpath>
 <classpathentry kind="src" path="src"/>
 <classpathentry kind="src" path="gen"/>
 <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
 <classpathentry kind="output" path="bin"/>
</classpath>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值