Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio doesn't generate signed apk after update to 2.3

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.

like image 774
trueangle Avatar asked Mar 13 '17 13:03

trueangle


People also ask

How can I get signed APK?

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.

Where is signed APK located Android studio?

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.

Which file is used to generate signed APK?

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.


1 Answers

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.

enter image description here

like image 54
Ruben Aalders Avatar answered Sep 25 '22 16:09

Ruben Aalders