title: Intellij: android-support-v4.jar in included in actionBarSherlock and Project => IllegalArgumentException
body: <p>I am currently migrating all my projects from Eclipse to IntelliJ Idea.</p>
  
  <p>When I was using Eclipse, the package was only included in ActionBarSherlock library and when the library was included in my project, everything was automatically added.</p>
  
  <p>With IntelliJ, once the android-support-v4.jar is added to ABS, that does not seems enough, as all my imports are broken.</p>
  
  <p><strong>Screenshot of ActionBarSherlock (LibABS) imports:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/4zXXs.png" alt="enter image description here"></p>
  
  <p>Everything seems fine, all the SherlockActivity are fine, but all the stuff related to support is not recognized in my application:</p>
  
  <pre><code>java: /home/user/workspace/....
  cannot access android.support.v4.app.FragmentActivity
  class file for android.support.v4.app.FragmentActivity not found
  </code></pre>
  
  <p>So, I have to copy manually the jar into a libs folder and include it to my project once again.</p>
  
  <p><strong>Screenshot of my project imports:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/Pp7Uh.png" alt="enter image description here"></p>
  
  <p>The imports are recognized, nut I now get this error:</p>
  
  <pre><code>Android Dex: [BeTrains-for-Android] UNEXPECTED TOP-LEVEL EXCEPTION:
  Android Dex: [BeTrains-for-Android] java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/ShareCompat$ShareCompatImplJB;
  </code></pre>
  
  <p>Thank a lot for any help.</p>