Android Gradle Multidex Build issue on API 19
I have a project in which I have enabled multidex to avoid 65k limit and also productFlavors (dev API 21 and prod API 19) for customization. Building my Project on API 21 i.e dev flavor is successful but on API 19 i.e. prod flavor, it is continuously giving me exception in app task shrink{component}MultiDexComponents Complete Error log: :app:shrinkProdDebugMultiDexComponents FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:shrinkProdDebugMultiDexComponents'. > java.io.IOException: Can't read [{Project Path}/app/build/intermediates/multi-dex