I always get "app-release-unaligned.apk". I can't get "app-release.apk". But before I've updated Android SDK, I can get both "app-release.apk" and "app-release-unaligned.apk" after pressing Build->Generate Signed Apk...
System Mac OS. Android Studio 1.5.1. Android SDK Tools 25.1.1. Android SDK Platform-tools 23.1. Android SDK Build-tools 23.0.3.
I found the similar problem on Android Developer Tools Google Plus
UPD1 I've used cmd to align my apk. Because I could not publish my application to google play. zipalign -v 4 your_project_name-unaligned.apk your_project_name.apk
.
The unaligned apk is just an intermediate product. the unaligned apk is generated. the unaligned gets aligned and produces the aligned apk.
app-universal-release.apk contains both of the specific instruction in app- armeabi-v7a-release.apk and app-x86-release.apk. You can use just the universal one, but you probably will not want to use it if the generated apk is too big. User tend to avoid a big application in the play store.
app-release.apk
file is in the application folder.
Sometimes Android studio shows another directory where the unaligned file is.
in my case The app-release.apk
was in app/
folder not in outputs/apk/
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