I have a project in Android Studio and two third-party libraries provided as jar files with javadoc in separate jar-file. So I have 4 external files:
- lib1.jar
- lib1-javadoc.jar
- lib2.jar
- lib2-javadoc.jar
Javadoc.jar files contain some html files with project documentation generated with JavaDoc util.
When I try to compile apk-file I get an error:
Error:duplicate files during packaging of APK /Users/****/Projects/****/app/build/outputs/apk/****-debug-unaligned.apk
Path in archive: allclasses-frame.html
In my build.gradle I declare project dependencies as follow:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}
If I get it right I don't need to compile javadoc files, but I want Android Studio to show me documentation when I writing code.
Any ideas? Thanks!