The same input jar is specified twice solution, specifiedtwice
The same input jar is specified twice solution Android studio encountered such a problem during packaging
Warning:Exception while processing task java.io.IOException: The same input jar […….jar] is specified twice.
The solution is as follows:
Open?Proguard. cfg?
In all-Libraryjars? Insert before #?#-libraryjars xxxx.jar
Cause Analysis
The reason is that the build. gradle file is configured
dependencies { compile fileTree(include: '*.jar', dir: 'libs')}
The jar package has been added to the proguard. cfg file.-Libraryjars libs/***. jar, Set-Libraryjars libs/***. jar? Use # To comment out or delete it.
When sdk obfuscated code through proguard, all the jar files in the lib directory have been added to the packaging script by default, so you do not need to manually add them again.