I'm developing Android application using android studio version 2.2.2 and gradle version 2.2.2. I am trying to generate signed APK. I did the regular process for generating signed APK with Android Studio. After that, I did Zipalign process. generated APK works fine on below android 6. But in a case of Android N it shows me the following error while installing APK:
Failed to install C:\Users\User\AppData\Roaming\Skype\My Skype Received Files\ap
p-dev3-release_zipalign.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Fail
ed to collect certificates from /data/app/vmdl25816781.tmp/base.apk: META-INF/CE
RT.SF indicates /data/app/vmdl25816781.tmp/base.apk is signed using APK Signatur
e Scheme v2, but no such signature was found. Signature stripped?]
As per document Android studio 2.2 it self-take care of sign in signature V1 and V2. Am I doing anything wrong? Need some help.