Reputation: 515
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?
Upvotes: 6
Views: 2950
Reputation: 3916
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 multidex not supporting with proguard
https://groups.google.com/forum/#!topic/adt-dev/qU0Me1_2HF8
Upvotes: 1