title: How to add Jsoup to my Android Studio project?
body: <p>I am trying to use jsoup in my android studio project but i keep getting this error: Error:(10, 16) Gradle: error: package org.jsoup does not exist.</p>
  
  <p>Could you guys tell me the steps on how to add jsoup library to my project? Thanks in advance.</p>
  
  <p>Edit: For learning purpuse i am running the java code alone without main activity!</p>
  
  <p>code:</p>
  
  <pre><code>package com.jsoupTest.jsoupTest;
  
  
  import java.io.IOException;
  
  
  
  
  import org.jsoup.Connection;
  import org.jsoup.Jsoup;
  import org.jsoup.UnsupportedMimeTypeException;
  import org.jsoup.nodes.Document;
  import org.jsoup.nodes.Element;
  import org.jsoup.select.Elements;
  
  import java.io.IOException;
  
  public class JsoupGetRequest {
  
  
      public static void main(String[] args) throws IOException {
  
  
  
          String dc=Jsoup.connect("http://somelink.com").timeout(6000).get();
          System.out.println(dc);
      }
  
  }
  </code></pre>