eklendiğinde Android yinelenen sınıf hatası apache poi excel api (xlsx) ile ilgili bir sorunum var. Ben android stüdyosu kullanıyorum ve poi lib'leri "libs" klasörlerine ekledim. Bu hata bir sebepten dolayı ortaya çıkıyor (aşağıya bakınız). Bunu nasıl çözebilirim? Sorunu nasıl belirlediğinizi açıklayabilir misiniz?Apache POI
xmlbeans-2.6.0, poi-ooxml-schemas-3.10.1-20140818, poi-ooxml-3.10.1-20140818, poi-3.10.1-20140818, log4j-1.2.13, junit-4.11, com.tr-1.6.1, commons-günlüğe kaydetme-1.1, commons-codec-1.5
Teşekkürler! (Jenerik diğer şeyler hariç) aşağıdaki gibi
Benim build.gradle
dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') }
android { packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } }
Benim app.iml hiçbir çift girişler ya ... var ... görünüyor
Hata
Error:Class org.apache.xmlbeans.xml.stream.Location has already been added to output. Please remove duplicate copies. compiler that did not target the modern .class file format. The recommended (org.apache.log4j.chainsaw.ControlPanel$1) that doesn't come with an associated EnclosingMethod attribute. This class was probably produced by a solution is to recompile the class from source, using an up-to-date compiler 1 error; aborting
Çözdünüz mü? –