Question

Last night I updated my android studio to 0.5.3 and since than i am getting this error message whenever I am trying to generate a signed-apk. It does not occur when I am just running the project over android studio.

I tried rebuilding, cleaning project, restarting android-studio, reimporting the project, no success. I am pretty desperate right now

EDIT: i found out that actually debug-unaligned is not generated... But why is that? And why do i need to generate it if i am just trying to sign the app

Was it helpful?

Solution

In 0.5.3, we tried to speed up the build process by not having it do a full build to an APK except when it needs to, but we missed some cases where it needs to.

You can follow progress in https://code.google.com/p/android/issues/detail?id=67948 but in the meantime you can work around it by running the assembleRelease task, either from the command line or from the Gradle tasks view:

Gradle tasks view showing assembleRelease task

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top