본문 바로가기
개발/Unity

문제해결)Unity) Google Service Login 실패(**** APP NOT CORRECTLY CONFIGURED TO USE GOOGLE PLAY GAME SERVICES **** DEVELOPER_ERROR)

by 테샤르 2022. 3. 28.

Unity Google Service Login 실패(**** APP NOT CORRECTLY CONFIGURED TO USE GOOGLE PLAY GAME SERVICES    **** DEVELOPER_ERROR)

Unity로 Google Play Services 및 로그인을 하는 과정에서 해당 에러가 발생해서 삽질을 엄청 했다.

해결한 방법에 대해서 기록하고자 한다.

 

반응형
2022-03-26 00:34:58.853 9447-16258/? E/PlayGamesServices[SignInAuthenticator]: **** APP NOT CORRECTLY CONFIGURED TO USE GOOGLE PLAY GAME SERVICES
    **** DEVELOPER_ERROR
    **** This is usually caused by one of these reasons:
    **** (1) Your package name and certificate fingerprint do not match
    ****     the client ID you registered in Developer Console.
    **** (2) Your App ID was incorrectly entered.
    **** (3) Your game settings have not been published and you are 
    ****     trying to log in with an account that is not listed as
    ****     a test account.
    **** (4) A server auth code was requested, but an incorrect client
    ****     id was provided. The client id for server auth codes should
    ****     be the client id for the game server (not the android app).
    ****
    **** To help you debug, here is the information about this app
    **** Package name         : minalf_studio.sudoku.com
    **** Cert SHA1 fingerprint: [SHA1]
    **** App ID from manifest : [App ID]
    ****
    **** Check that the above information matches your setup in 
    **** Developer Console. Also, check that you're logging in with the
    **** right account (it should be listed in the Testers section if
    **** your project is not yet published).
    ****
    **** For more information, refer to the troubleshooting guide:
    ****   http://developers.google.com/games/services/android/troubleshooting

 

해당 이슈가 생기는 이슈는 여러가지 케이스가 있다.

 

경우 내용
Case 1 패키지와 인증서가 일치하지 않는 경우
Case 2 Google Console의 id와 다른 경우
Case 3 Google Console 게임 설정이 게시되지 않거나 테스트 계정설정이 안된 경우
Case 4 서버 인증 코드가 요청되었지만 ID가 다른경우 (게임 서버의 클라이언트 ID)

본인의 경우에는 SHA-1 키가 Upload Key와 Release Key 2가지가 설정되지 않아서 

1번(패키지와 인증서가 일치하지 않아서) 의 경우 였다.

 

대부분이 설정에서 문제가 많이 생기는데 하나씩 하나씩 차근차근 수정하면 된다.

 

 

★☆☆☆☆

 

반응형

댓글