String.isEmpty() not available until API level 9. Instead, you can use TextUtils.isEmpty() .
It seems that JSoup 1.6 introduced code that uses String.isEmpty() , and therefore, you will need the Android API level 9. I would suggest using an earlier version of JSoup if you configure Android API 8 or lower (Froyo).
This is seen as a bug in JSoup 1.6.0, and you can expect a fix in the near future. See https://github.com/jhy/jsoup/issues/103 for status.
source share