10월, 2019의 게시물 표시

Google Play Service와 Admob 충돌 해결 방법

연구중... https://m.blog.naver.com/PostView.nhn?blogId=slee16&logNo=221650808108&targetKeyword=&targetRecommendationCode=1 1. GPGS(0.9.64)를 먼저 Import -> 로그인 테스트 2. Admob Plugin(3.18.1)을 Import -> 광고 테스트 2-1) Google Login시 튕김증상 발생시 Assets\GoogleMobileAds\Editor - GoogleMobileAdsDependencies.xml 와 Assets\GooglePlayGames\Editor\m2repository\com\google\games\gpgs-plugin-support\0.9.64 - gpgs-plugin-support-0.9.64.pom 안에 version을 아래처럼 통일 <version>11+</version> http://blog.naver.com/PostView.nhn?blogId=an060875&logNo=221579036028&parentCategoryNo=&categoryNo=11&viewDate=&isShowPopularPosts=true&from=search

팽이로 보석캐기 재개발 1일차

GPGS와 Admob 연동에 애를 먹고있다.. GPGS와 Admob을 같이 사용시, import와 build에선 따로 error가 없으나, 같이 사용한 상태에서 Google Login을 시도하면 게임이 튕겨버린다.

Unity Google 계정 연동

1. GPGS를 다운로드 (최신버전의 경우 에러가 잡히는 경우가 있음)     1-1) Admob과 import에서 충돌이 일어날 수 있음 해결법 -> link     1-2) Asset -> PlayServiceResolver -> AndroidResolver -> Resolve 해야함         1-3) Window -> GooglePlaySetup 해야함 2. Source Code     using GooglePlayGames;     void Start()     {           PlayGamesPlatform.DebugLogEnabled = true;           PlayGamesPlatform.Activate();     }     public void Login()     {           Social.localUser.Authenticate((bool success) =>           {                  if(success)                        Debug.Log("Id : " + Social.localUser.id + " , name : " + Social.localUser.userName );           }     } 3. You tube link    https://www.youtube.com/watch?v=e1Ma6zRd3wA