Android Studio does not create a signed apk after updating to version 2.3

I ran into some problems loading the release version into the fabric (crashlytics) after creating the release build in Build-> Generate Signed Apk. After moving app-release.apk to the Fabric window, I see the following error: "The provided APK cannot be distributed because it is unsigned."

Fabric Error

What am I doing wrong? Keystore and his password have not changed.

+5
source share
2 answers

I had the same problem yesterday.

I needed to check the boxes for signature versions where both were checked. By default, both are unchecked.

enter image description here

+18
source

Just try adding this: - v2SigningEnabled false in the build.gradle file.

android { ... defaultConfig { ... } signingConfigs { release { storeFile file("myreleasekey.keystore") storePassword "password" keyAlias "MyReleaseKey" keyPassword "password" v2SigningEnabled false } } } 

After that select enter image description here

+1
source

Source: https://habr.com/ru/post/1265387/


All Articles