I have faced some troubles with uploading release version to fabric(crashlytics) after generating release build in Build->Generate Signed Apk. After moving app-release.apk into Fabric window I see following error: "The provided APK can't be distributed because it is unsigned."
Fabric error
What I'm doing wrong? Keystore and its password didn't change.
In the menu bar, click Build > Generate Signed Bundle/APK. In the Generate Signed Bundle or APK dialog, select Android App Bundle or APK and click Next. Below the field for Key store path, click Create new. On the New Key Store window, provide the following information for your keystore and key, as shown in figure 2.
From that notification, select Locate and you will be led to the APK file location. If you miss the notification, you can still locate the APK file in the following path within your project folder: app/build/outputs/apk/debug. The file is named app-debug. apk by default.
Use Keytool binary or exe to generate a private keystore. Instructions here. You can then sign your app using this keystore. Keytool gets installed when you install Java.
I had the same problem yesterday.
I had to make sure the checkboxes for signature versions where both checked. These both are unchecked by default.
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