समेत मुझे apache poi excel api (xlsx) में कोई समस्या है। मैं एंड्रॉइड स्टूडियो का उपयोग कर रहा हूं और मैंने "libs" फ़ोल्डर्स में poi libs को जोड़ा है। यह त्रुटि कुछ कारणों से पॉप अप हो रही है (नीचे देखें)। मैं इसे कैसे हल करूं ?, क्या आप कृपया बता सकते हैं कि आपने इस मुद्दे की पहचान कैसे की?एंड्रॉइड डुप्लिकेट क्लास त्रुटि जब अपाचे पीओआई
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, जूनिट-4.11, dom4j-1.6.1, कॉमन्स-लॉगिंग-1.1, कॉमन्स-कोडेक-1.5
धन्यवाद!
मेरे 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' } }
मेरे app.iml कोई डुप्लिकेट प्रविष्टियों या तो ... है
त्रुटि
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
आप हल किया? –