15

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?

UKDataGeek
  • 6,338
  • 9
  • 46
  • 63

3 Answers3

18

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

UKDataGeek
  • 6,338
  • 9
  • 46
  • 63
  • I will give it a try and tell here... Thank you! – Martin Pfeffer Jun 06 '14 at 15:07
  • I don't get it, If i am uploading the same apk to both, play store and amazon store, how come it seems that my client id is not working from the amazon app store? By just re-creating the client id, it should work? – Xavier Guzman Jul 30 '15 at 15:35
  • This applies to debug signin as well, e.g. if you use another device to develop. It's okay not to delete previous link, as it is allowed to link up to 20 app. – Elye Aug 12 '15 at 23:15
  • @XavierGuzman Did you enable anti-piracy in Google Developer Console ? Perhaps that is what prevent it from working properly in the amazon app store... (just a guess). – Rahul Iyer Aug 26 '15 at 10:44
  • @John fortunately, I was able to solve it with this answer...I blogged about it, if you are facing the same issue: http://blog.xavierguzman.com/google-play-game-services-in-the-amazon-app-store/ – Xavier Guzman Aug 26 '15 at 20:30
  • I'm unable to resolve problem. I have deleted and created linked apps many times. I have created two keystores for release and debug, to get different certificate SHA1, and linked it. I have enable different email accounts on testing. I have different tutorials and stack overflow answers. Nothing works. Any idea? – GmloMalo Sep 07 '15 at 16:35
5

Try our troubleshooting guide: https://developers.google.com/games/services/android/troubleshooting

In our experience, most problems of this nature can be solved by carefully following the steps indicated there.

Bruno Oliveira
  • 5,056
  • 18
  • 24
  • 4
    I think you should really outpoint somewhere that it might take hours until changes to testing accounts are applied. The message "incorrectly configured" is highly misleading. – paulgavrikov Apr 04 '14 at 02:26
  • The linked troubleshooting page seems to not match current Google Play Dev Console. Specifically I do not find a list of client ids, and also the "Linked apps" is not found where the troubleshoot page notes, it is currently found if going Game Services>(game) – Jonny Apr 06 '15 at 08:25
0

I had this problem because I forgot that in Android Studio you can't directly send an app to your device if it is a game being played through Google Play. If you do, you will get this error message. You have to instead in the Build menu of Android Studio, select Generate Signed APK..., and then send the app to your device from a console using the command "adb -d install <'app name'>.apk." Then since I had previously sent the app to my device directly from Android Studio, I proceeded to get the error message from adb of "INSTALL_PARSE_FAILED_NO_CERTIFICATES." To fix this, I had to delete from my device the app which I had previously downloaded from Android Studio. Then the command "adb -d install <'app name'>.apk" worked, and the app ran correctly.

Bert Baker
  • 41
  • 4