首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > Ruby Rails >

android2.3 draw9patch NoClassDefFoundError 解决办法

2012-08-24 
android2.3 draw9patch NoClassDefFoundError 解决方法?C:\Users\Delldraw9patchException in thread AW

android2.3 draw9patch NoClassDefFoundError 解决方法

?

C:\Users\Dell>draw9patch

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/jdesk

top/swingworker/SwingWorker

?? ? ? ?at com.android.draw9patch.Application$1.run(Application.java:48)

?? ? ? ?at java.awt.event.InvocationEvent.dispatch(Unknown Source)

?? ? ? ?at java.awt.EventQueue.dispatchEvent(Unknown Source)

?? ? ? ?at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

?? ? ? ?at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

?? ? ? ?at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

?? ? ? ?at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

?? ? ? ?at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

?? ? ? ?at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.lang.ClassNotFoundException: org.jdesktop.swingworker.SwingWorke

r

?? ? ? ?at java.net.URLClassLoader$1.run(Unknown Source)

?? ? ? ?at java.security.AccessController.doPrivileged(Native Method)

?? ? ? ?at java.net.URLClassLoader.findClass(Unknown Source)

?? ? ? ?at sun.misc.Launcher$ExtClassLoader.findClass(Unknown Source)

?? ? ? ?at java.lang.ClassLoader.loadClass(Unknown Source)

?? ? ? ?at java.lang.ClassLoader.loadClass(Unknown Source)

?? ? ? ?... 9 more




升级到2.3后发现draw9patch没法用了,报异常,解决方法放出,帮小白们解忧:把附件的文件放到path_to_android_sdk/tools/lib下即可。

?

热点排行