0

我试图阅读一个 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)

我似乎无法弄清楚是什么导致了这个错误。有什么想法吗?

4

1 回答 1