How to fix the error "Error creating the final archive: found duplicate file for the APK: doc / allclasses-frame.html"

I compiled two jar files and added them to the build path of my Android project.

I got this error from Eclipse: Error creating final archive: found duplicate file for APK: doc / allclasses-frame.html

After reading

How to fix the error "Error creating the final archive: duplicate entry: AndroidManifest.xml"

I realized that I could fix the error by re-exporting the jar file without documentation. I did this and now my project has no errors, but what about my documentation? Is there a way to see documentation from my libraries when I use Ctrl-space autocomplete?

I did not need to re-export both jar files. I just had to re-export the one that is in the same workspace as the Android project I'm working on. However, the Ctrl-space does not show me the documentation from the jar file.

I would also like to know how to set up a jar file so that links can be generated when I create javadoc.

+6
source share
1 answer

You can save javadoc in a separate .jar file, outside the project folder. Then tell Eclipse where the Javadoc file is in the project properties> build configuration.

You will not get an error and still get autocomplete information.

+6
source

Source: https://habr.com/ru/post/891490/


All Articles