I updated Android studio from Preview 2 to Preview 3 and now I get this error when I try to generate a release APK:
Error:A problem was found with the configuration of task ':app:packageProdRelease'.
> File '/Users/jay/repositories/test/app/build/intermediatesError:A problem was found with the configuration of task ':app:packageProdRelease'.
> File '/Users/jay/repositories/test/app/build/intermediates/res/resources-prod-release-stripped.ap_' specified for property 'resourceFile' does not exist.
I've read that it might be related to instant run feature so I disabled it and still the same error. And then, I tried to set shrinkResources
attribute to false
and then It works. BUT when I tried uploading the apk in Google Developper Console, it says my apk is not Zipaligned...
Wherever you are Google Developper, Help me out! :O