NoClassDefFoundError:org.htmlcleaner.HtmlCleaner

时间:2013-09-14 10:20:12

标签: android

我试图阅读一个HTML页面。我使用以下链接:http://thinkandroid.wordpress.com/2010/01/05/using-xpath-and-html-cleaner-to-parse-html-xml/作为示例但我收到以下错误

09-14 11:27:54.624: E/AndroidRuntime(10223): FATAL EXCEPTION: main
09-14 11:27:54.624: E/AndroidRuntime(10223): java.lang.NoClassDefFoundError: org.htmlcleaner.HtmlCleaner
09-14 11:27:54.624: E/AndroidRuntime(10223):    at com.example.htmltest.MainActivity.getBlogStats(MainActivity.java:43)
09-14 11:27:54.624: E/AndroidRuntime(10223):    at com.example.htmltest.MainActivity.onCreate(MainActivity.java:29)
09-14 11:27:54.624: E/AndroidRuntime(10223):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
09-14 11:27:54.624: E/AndroidRuntime(10223):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
09-14 11:27:54.624: E/AndroidRuntime(10223):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
09-14 11:27:54.624: E/AndroidRuntime(10223):    at android.app.ActivityThread.access$1500(ActivityThread.java:117)
09-14 11:27:54.624: E/AndroidRuntime(10223):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)

我似乎无法弄清楚导致此错误的原因。有什么想法吗?