How create debug keystore for a "Google Play App Signing" project

4k Views Asked by At

for a debug keystore (when run a application directly out of android studio which is working with google play services - doing a sign in and so on) you have to make a debug keystore. But with the new feature "Google Play App Signing" the generated keystore is a "Upload Key (google invented it)" with a special Upload Signature. The problem is (i guess) that i need a debug keystore with an App Signature (i guess). So the question is: How can i create a debug keystore with the "App signature" (the MD5 and SHA-1 i know for this), to make it possible to run signed apps out of the IDE that can sign into google play services?

3

There are 3 best solutions below

0
ReyAnthonyRenacia On

Debug keystores are automatically created for you by Android Studio the first time you run or debug your project in Android Studio in $HOME/.android/debug.keystore, and sets the keystore and key passwords.

However, if you're looking to sign your app, you can execute this command in the command line:

keytool -genkey -v -keystore my-release-key.jks
-keyalg RSA -keysize 2048 -validity 10000 -alias my-alias
0
Muhammad Shoaib On

If you want to find the debug.keystore command, then you can go to google cloud platform, then credentials from left menu.

After that, find your application, check the package name and click on it.

In new window, you should find a command to regenerate your debug.keystore.

0
Abdelrahman Tareq On

You can create a new one(debug or release or profile) from android studio:

  1. go to build generate signed Bundle/Apk enter image description here
  2. then click next then create new enter image description here
  3. then enter the red info & click next enter image description here
  4. choose keystore type