title: Error:package org.codehaus.jackson does not exist
body: <p>I have some problems with intellij.
  I added Json library but when I run my program this error appear</p>
  
  <p>Error:(8, 28) error: package org.codehaus.jackson does not exist</p>
  
  <p>this is my code</p>
  
  <pre><code>package openquality.tutorialjson;
  
  import android.support.v7.app.AppCompatActivity;
  import android.os.Bundle;
  import android.widget.ArrayAdapter;
  import android.widget.ListAdapter;
  import android.widget.ListView;
  import org.codehaus.jackson.JsonGenerationException;
  import org.codehaus.jackson.map.JsonMappingException;
  import org.codehaus.jackson.map.ObjectMapper;
  
  import java.util.List;
  import java.io.IOException;
  
  public class MainActivity extends AppCompatActivity {
  
     ListView listView;
     ListAdapter adapter;
     List&lt;CubetaDTO&gt; response;
     @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      listView=(ListView)findViewById(R.id.lista);
      adapter= new ArrayAdapter(this,R.layout.list,R.id.textView,response);
      listView.setAdapter(adapter);
  
      class Jackson2Example {
          public void main(String[] args) {
              Jackson2Example obj = new Jackson2Example();
              obj.run();
          }
          private void run() {
              ObjectMapper mapper = new ObjectMapper();
              try {
                  // Convert JSON string from file to Object
                 /* List&lt;CubetaDTO&gt; response = mapper.readValue(new File("D:\\staff.json"), List.class);
                  System.out.println(response);*/
  
                  // Convert JSON string to Object
                  String jsonInString = "[{'TagId':123,'Estado':'Disponible'}"+
                          "{'TagId':153,'Estado':'Muerto'}"+
                          "{'TagId':324,'Estado':'Disponible'}"+
                          "{'TagId':fdger,'Estado':'Almorzando'}"+
                          "{'TagId':123423,'Estado':'Disponible'}"+
                          "{'TagId':65784,'Estado':'En el baño'}"+
                          "]";
                  response = mapper.readValue(jsonInString, List.class);
              } catch (JsonGenerationException e) {
                  e.printStackTrace();
              } catch (JsonMappingException e) {
                  e.printStackTrace();
              } catch (IOException e) {
                  e.printStackTrace();
              }
          }
      }
  }
  }`
  </code></pre>
  
  <p>To add json library, y clicked in projec structure, librarias and + simbol and add the library</p>
  
  <p>Here's <code>build.gradle</code></p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
  compileSdkVersion 25
  buildToolsVersion "25.0.2"
  defaultConfig {
      applicationId "openquality.tutorialjson"
      minSdkVersion 15
      targetSdkVersion 25
      versionCode 1
      versionName "1.0"
      testInstrumentationRunner 
  "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 
  'proguard-rules.pro'
      }
  }
  }
  
  dependencies {
  compile fileTree(dir: 'libs', include: ['*.jar'])
  androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', 
   {
        exclude group: 'com.android.support', module: 'support-annotations'
     })
    compile 'com.android.support:appcompat-v7:25.3.1'
    testCompile 'junit:junit:4.12'
    }
  </code></pre>