trying to port Tika 1.0 to Android in Eclipse: error messages refercing pom.xml

倾然丶 夕夏残阳落幕 提交于 2019-12-12 05:40:01

问题


I am trying to port Tika 1.0 core and parsers source code to Android in Eclipse and having problems. Here's what I did:

  • Downloaded Tika 1.0 source
  • Opened core and parsers sub-projects in Eclipse using Maven plugin
  • Exported both into their respective JARs
  • Copied the JAR files into the libs folder of a "wrapper" Android project that I want to use to test tika's capabilities on a 4.0 device
  • Cleaned and rebuilt the project

When I tried to launch it on a device, I got this error:

Error generating final archive: Found duplicate file for APK: pom.xml
Origin 1: C:\...\libs\tika-core.jar
Origin 2: C:\...\libs\tika-parsers.jar

The two JARs do contain pom.xml files but they are different.

My goal is to be able to step through tika's code on the device. So what do I need to do to be able to launch on Android?

Thx

来源:https://stackoverflow.com/questions/10420896/trying-to-port-tika-1-0-to-android-in-eclipse-error-messages-refercing-pom-xml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!