Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
546 views
in Technique[技术] by (71.8m points)

android play games services is incorrectly configured. anyone know how to fix?

enter image description hereI have a weird bug that's cropped up.

My app works perfectly when I sign it with the android debug key store. But when I sign it with my own key, users are unable to sign in.

I get the message "The application is incorrectly configured. Check the package name and signing cerificate match the client id in the developer console"

I have done this and have added a new client I'd with the correct certificate and package name but it still doesn't seem to be working.

Anyone know what else I could try or if there is a known issue?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Ok all here is how I managed to fix it after a lot of trial and error.

  1. If you have created a client id in the google api console for your release certificate sha1 and release package name then delete it.

  2. Go into the developer play store console and follow the steps to link another app ( screenshot below) enter image description here

Then proceed to follow the steps that it takes you through which will create a new client id.

  1. Now this is the important bit....

( Even though the UI will look the same and Google will give no visual indication that you need to do anything more to get it working and make you assume that changes have been autosaved) Press the publish button. It will then give you a list of changes that it needs to publish.

Press publish and after a few hours your app will start to work.

Hooray


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...