I'm trying to generate an APK for publication in Google store, but I get the following error:
Error:Execution failed for task
':app:shrinkReleaseMultiDexComponents'. java.io.IOException: The output jar
[/home/nome/Projects/app-android/app/_app/build/intermediates/multi-dex/release/componentClasses.jar]
must be specified after an input jar, or it will be empty.
How do I fix this?
This looks like an issue with Progaurd.
Based on these links below it looks like certain Progaurd configurations along with multidex enabled can return this error. Can you try to disable Progaurd?
Android Build with Gradle and ProGuard : "The output jar must be specified after an input jar, or it will be empty"
Android multidex not supporting with proguard
https://groups.google.com/forum/#!topic/adt-dev/qU0Me1_2HF8
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With