본문 바로가기
문제해결

[오류 해결] Google Play Game Services 로그인

by samosa 2024. 1. 29.

일단 도움이 되는 튜토리얼 영상을 공유!
https://www.youtube.com/watch?v=-LVT2Mmk6fw

 

이렇게 친절한 튜토리얼이 있는데도 불구하고 실제로 모든 문제 해결하는 데는 이틀이 꼬박 걸렸다.

 

1. Failed to fetch the following dependencies: cohttp://m.google.games:gpgs-plugin-support:+

이 오류가 뜨면 아래 스레드 참고.

https://discussions.unity.com/t/resolution-failed-failed-to-fetch-the-following-dependencies-com-google-games/252676

 

Resolution failed Failed to fetch the following dependencies: com.google.games:gpgs-plugin-support:+

I have been getting this error and would love some help fixing it! What’s Wrong: I am trying to integrate Google Play Games into my Unity project. When I build an APK and attempt to log in, I get a class not found exception: ClassNotFoundException: com.g

discussions.unity.com

 

2. 웹 클라이언트 OAuth 제대로 설정했는지 확인

3. 에디터 메뉴 Window > Google Play Games > Android Setup 정보 맞는지 확인

4. Project Settings > Services > Authentication 등 확인

등등은 구글링 조금만 해보면 다 나오는 정보들이긴 하다.

 

그리고 아마도 제일 중요....

정말 아무리 모든 걸 다 확인해도 안 된다면

https://github.com/playgameservices/play-games-plugin-for-unity/releases

 

Releases · playgameservices/play-games-plugin-for-unity

Google Play Games plugin for Unity. Contribute to playgameservices/play-games-plugin-for-unity development by creating an account on GitHub.

github.com

v10.14로 다운그레이드....!!!

하니 바로 해결 ㅠㅠㅠㅠ 아이고 내 시간이야

adb logcat은 로그인 Cancel이라고만 알려주니 미지의 원인과 사투를 벌였네...

 

11버전은 좀 회복하고 다시 시도해봐야겠다.