开发者

If Jsoup works with android?

开发者 https://www.devze.com 2023-02-15 01:51 出处:网络
I need to parse data from web in my Android Appl开发者_开发知识库ication.Among many solutions i find Jsoup is simpler and straight forward.But i can\'t use it in my application.If anybody shares the i

I need to parse data from web in my Android Appl开发者_开发知识库ication.Among many solutions i find Jsoup is simpler and straight forward.But i can't use it in my application.If anybody shares the idea it will be great thanks


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


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 :)


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!

0

精彩评论

暂无评论...
验证码 换一张
取 消