title: Conflict with android package - Amazon SNS
body: <p>I have been trying to integrate the Amazon SNS client with an android project.</p>
  
  <p>I am including the library using the following dependency commands</p>
  
  <pre><code>dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:22.2.0'
      compile 'com.amazonaws:aws-java-sdk-sns:1.10.+'
      compile 'com.google.android.gms:play-services:7.5.0'
  }
  </code></pre>
  
  <p>Thus it automatically includes the above library (and its dependencies :
  <strong>aws_java_sdk_core</strong> and <strong>aws_java_sdk_sqs</strong>). All 3 libraries have a version  <strong>1.10.2</strong>.</p>
  
  <p>The problem is that the AWS core has two modules</p>
  
  <ol>
  <li>commons-logging (commons-logging:commons-logging:1.1.3)</li>
  <li>httpclient (org.apache.httpcomponents:httpclient:4.3.6)</li>
  </ol>
  
  <p>As android has the same packages internally, it excludes these modules 
  to avoid any conflict. The result is that when the aws code tries to access some classes from these modules. Tt is expecting a different version of it, does not find the expected method, and crashes the application.</p>
  
  <p>Is there any way to override android's exclude? (Or is there a better way to handle this situation?)</p>
  
  <p><strong>EDIT:</strong> Added gradle log :</p>
  
  <pre><code>WARNING: Dependency commons-logging:commons-logging:1.1.3 is ignored for debug as it may be conflicting with the internal version provided by Android.
           In case of problem, please repackage it with jarjar to change the class packages
  WARNING: Dependency org.apache.httpcomponents:httpclient:4.3.6 is ignored for debug as it may be conflicting with the internal version provided by Android.
           In case of problem, please repackage it with jarjar to change the class packages
  WARNING: Dependency commons-logging:commons-logging:1.1.3 is ignored for release as it may be conflicting with the internal version provided by Android.
           In case of problem, please repackage it with jarjar to change the class packages
  WARNING: Dependency org.apache.httpcomponents:httpclient:4.3.6 is ignored for release as it may be conflicting with the internal version provided by Android.
           In case of problem, please repackage it with jarjar to change the class packages
  </code></pre>