Skip to content Skip to sidebar Skip to footer

If Jsoup Works With Android?

I need to parse data from web in my Android Application.Among many solutions i find Jsoup is simpler and straight forward.But i can't use it in my application.If anybody shares the

Solution 1:

Right Click on project > BuildPath> Add External Archives > select the .jar file :)

Solution 2:

Just put it in the libs directory, make a right click on gson-1.6.jar, select Build Path > Add to Build Path and it should just works :)

Solution 3:

Adding jsoup to my libs dir did not work for me. Instead I extracted the jsoup source and then added it to my src directory of my android project. Then on next compile it compiled and converted all code to DEX. Upon inspection of the APK the jsoup libary was indeed there. Finally, I tested and it worked great!

Post a Comment for "If Jsoup Works With Android?"