title: android read xlsx file with apache poi stop with error , how to solve
body: <p>i'm using <strong>apache.poi</strong> 3.15 to read <strong>xlsx</strong> file from android . my app show error in 2 conditions 
  <strong>Condition one :</strong>
  if i run my app <strong>without xml-beans.jar</strong> , the app will be build and run and i can declear </p>
  
  <pre><code>XSSFWorkbook workbook = null;
  </code></pre>
  
  <p>so no error will be apear but if i change my code to this</p>
  
  <pre><code>InputStream fIn = cntx.getResources().getAssets().open("a.xlsx", cntx.MODE_WORLD_READABLE);
  XSSFWorkbook workbook = null;
  workbook=new XSSFWorkbook(fIn);
  </code></pre>
  
  <p>app will successfuly build , after run will stop and show this error :</p>
  
  <pre><code>java.lang.VerifyError: org/apache/poi/xssf/usermodel/XSSFWorkbook
  </code></pre>
  
  <p><strong>Condition two</strong> : if i depend xmlbeans.jar , android studio will terminate build process and show this error:</p>
  
  <pre><code>Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. &gt; com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: org/apache/xmlbeans/xml/stream/Location.class
  </code></pre>
  
  <p>this is my gradle :</p>
  
  <pre><code>    defaultConfig {
      applicationId "com.ramin.test"
      minSdkVersion 17
      targetSdkVersion 23
      versionCode 1
      versionName "1.0"
      //enable Multi Dex
     multiDexEnabled true
  
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
  }
  
  dexOptions {
      preDexLibraries false;
      javaMaxHeapSize "4g"
  }
  afterEvaluate {
      tasks.matching {
          it.name.startsWith('dex')
      }.each { dx -&gt;
          if (dx.additionalParameters == null) {
              dx.additionalParameters = ['--multi-dex']
          } else {
              dx.additionalParameters += '--multi-dex'
          }
      }
  }
  
  dependencies {
  testCompile 'junit:junit:4.12'
  compile 'com.android.support:cardview-v7:23.4.0'
  compile 'com.android.support:recyclerview-v7:23.4.0'
  compile 'com.android.support:appcompat-v7:23.4.0'
  compile 'com.android.support:design:23.1.1'
  compile files('libs/poi-3.15.jar')
  compile files('libs/poi-ooxml-schemas-3.15.jar')
  compile files('libs/poi-ooxml-3.15.jar')
  compile files('libs/xmlbeans-2.6.0.jar')}
  </code></pre>
  
  <p><strong>what i should do</strong></p>