Android java.lang.NoClassDefFoundError: org.jsoup.Jsoup

前端 未结 8 1176
广开言路
广开言路 2020-12-01 22:12

I work with eclipse Version: Indigo Service Release 2 Build id: 20120216-1857. The Android version ist 2.2. I make an app to test a connect and parse a web site like this:

8条回答
  •  鱼传尺愫
    2020-12-01 22:37

    I was able to solve this problem by following:

    1. Placing the jsoup jar in the 'libs' folder (as noted in John's answer)
    2. Remove the "Android Dependencies" and "Android Private Libraries" from the build path
    3. Using Android Tools > Fix Project Properties to repopulate the above entries in the build path.

提交回复
热议问题