简体   繁体   中英

Google Play App Signing upload.pem?

I've developed and uploaded an android app to the Google Play Store, and I "accidentally" clicked the enable Google Play App Signing.. Now my app has been "stuck" at that stage for some hours now, and I'm suspecting the signed .apk (signed by my, by a jks I have on my machine) is not signed with the correct certificate..

Since I clicked enable to the Google Play App Signing, I got a "upload.pem" and a "deployment.pem", but I have no idea on what to do with these to certificates, and absolutely no idea on how to sign my .apk with these/one of these, since the info page only says that you need to use the upload to sign the .apk. ( https://support.google.com/googleplay/android-developer/answer/7384423 )

So I'm wondering if anyone could help me with what to do, and how to sign the app correctly?..

You do not need to import upload.pem to keystore that you used to sign the APK previously, unless you are using a new keystore to sign the APK. Just sign it with your keystore and upload it to Play Store.

如果您需要程序方面的帮助,我在这里创建了一个指南

just add publish sha1 key in your api console

you have some publish upload sha1 key, md5, another type of hash key. just copy the sha 1 key and paste api console with app package name. its work for me ,i hope this will help. thak you

I've got exactly the same problem. Google Play Console provived me with 2 .PEM files and they tell you to use them to sign your APK, but they don't tell you how to do it. I've been searching the web for hours now without succes. No info at all on this topic.

Maybe there is another solution, but I have not managed to succeed yet so maybe you guys can help. On the page where you can download the .PEM files you are also provided with the SHA-1 code. I created my app in Unity so the Keystore file from Unity probably generates my current SHA-1 code. When I try to upload my (instant) APK now I get this message: Google APK Upload Error Message So my thought was just to try to change the SHA code. Editing APK files is completely new to me (so is creating games by the way) so I tried to find the SHA code in Android Studio and I also downloaded an application called APK Studio which allows you more editing options. Unfortunately I've not been able to find out how to change the SHA-1 code in my APK file. I think if I can do this the problem is solved.

Can anyone please be of assistance?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM