I have been using jsoup 1.6.3 successfully in an Android app to read data 
from a website.

I recently upgraded the Android SDK tools to version 21.0.1 and the Android 
SDK Platform-toolls to version 16.0.1 and now it no longer works. When I 
rebuild the application, install it on a device, and run it, I get "Sorry! 
The application XXXXX has stopped unexpectedly".

My code seems to import the library successfully with:

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;

But then in my method, the first time I try to do anything with jsoup:

Document document = Jsoup.connect(SPOT_SERVER_BASE).get();

I get the above error message with I try to run the app on a device. And 
the logcat says:

could not find method org.jsoup,Jsoup.connect

I get the idea that my app isn't connecting with the jsoup library at all. 
I have also downloaded version 1.7.1 and I get the same results. Any ideas 
what I am doing wrong?

Thanks.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to