GPGS 사용해보기
다운로드
https://github.com/playgameservices/play-games-plugin-for-unity
GitHub - playgameservices/play-games-plugin-for-unity: Google 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
다운 받은 파일의 압축을 풀고
압축 푼 폴더의 current-build 폴더에 들어가서
위 패키지를 유니티에 임포트 한다.
그러면 저절로 설치가 진행되는데
Assets/Plugin/Android에 저렇게 뭔가 많이 설치되면 성공이다.
나는 처음에 설치에 실패 해서 다른 방법으로 다시 시도를 했다.
프로젝트 안의
Assets/GooglePlayGames/com.google.play.games/Editor/GooglePlayGamesPluginDependencies.xml
파일을 찾아서 열고
Packages/com.google.play.games/Editor/m2repository 라고 적힌 부분을
Assets/GooglePlayGames/com.google.play.games/Editor/m2repository로 변경한 후
Force Resolve를 했더니 설치에 성공했다.
참고
https://3dmpengines.tistory.com/2184
com.google.games:gpgs-plugin-support:0.11.01 --> com.google.games:gpgs-plugin-support:+
com.google.games:gpgs-plugin-support:0.11.01 --> com.google.games:gpgs-plugin-support:+ I use GPGS v0.11.01 and was same error java.lang.ClassNotFoundException: com.google.android.gms.games.PlayGames. Android Force Resolve failed with an error Failed to fe
3dmpengines.tistory.com