분류 전체보기40 Unity에서 GPGS v2와 Firebase 연동 후 발생한 ClassNotFoundException 해결기 Unity 프로젝트에서 Google Play Games Services (GPGS) v2와 Firebase를 함께 사용할 때 발생한 문제를 해결한 경험을 공유하려고 합니다. 특히 업적 UI 호출 시 `AndroidJavaException: java.lang.ClassNotFoundException: com.google.games.bridge.HelperFragment` 에러가 발생한 상황과 그 해결 과정을 자세히 다뤄볼게요. 문제의 시작 저는 Unity로 개발 중인 게임에 GPGS v2를 연동해 업적과 리더보드 기능을 구현했는데, 초기에는 모든 게 잘 작동했습니다. 업적 UI도 문제없이 호출되었죠. 하지만 Firebase Analytics를 추가로 연동한 뒤부터 문제가 생겼습니다. 빌드를 하고 업적 UI.. 2025. 3. 19. windows 에서 Redis 서버 여러개 띄우기 (Redis MultiPort.. on windows) 윈도11에 레디스를 설치하는 것은 아래 링크에서 msi 를 다운로드 받아서 설치하면 된다. 간단하다 ^^ https://github.com/microsoftarchive/redis/releases Releases · microsoftarchive/redis Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes - microsoftarchive/redis github.com 여기서 다루는 것은 1개의 windows (machine ? ^^)에 여러 개의.. 2024. 4. 21. Unity 2022.3.20f1 에서 빌드 시 에러 Installed Build Tools revision 32.0.0 is corrupted. Remove and install again using the SDK Manager. - build tool 31.0.0 이후부터는 dx.bat, dx.jar 가 존재하지 않아 발생하는 문제 - d8.bat -> dx.bat 변경 : ~\2022.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\32.0.0 에 있는 d8.bat 를 dx.bat로 변경 - d8.jar -> dx.jar 로 변경 ~\2022.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\32.0.0\lib 에 있는.. 2024. 3. 12. CommandInvokationFailure: Failed to update Android SDK package list. 유니티 에디터(특히 2021.3.34 f1)에서 앱 빌드 시에 위 제목과 같은 메시지를 출력하며 실패가 되는 경우가 있다. 원인은 유니티가 설치되는 폴더의 위치 때문인데, "C:\Programe Files\ ... " 와 같이 폴더 이름 중간에 공백이 있어서 발생하는 것이다. 해결하는 방법으로는 2가지가 있다. 1. 유니티 설치 위치 변경 유니티가 기본 설치되는 위치는 C:\Program Files\Unity\Hub\Editor 일 것이다. 이 설치 위치를 유니티 최초 설치할 때 부터 C:\Unity\Hub\Editor 와 같이 공백이 없는 위치로 지정하는 것이다. 이미 기본 위치에 설치한 사람이라면 설치 삭제(Uninstall) 후에 다시 설치해야 하는 번거로움이 있을 것이다. 2. 배치(batch) .. 2024. 2. 23. 경고 메시지 : androidx.fragment:fragment (androidx.fragment:fragment) 앱을 빌드해서 Google Play Console 에 등록을 하면 다음과 같은 경고 메시지가 나오는 경우가 있다. (한글 : androidx.fragment:fragment (androidx.fragment:fragment) 개발자가 1.0.0 버전이 오래되었다고 신고했습니다. 신작을 게시하기 전에 다음 버전 중 하나로 업그레이드하는 것이 좋습니다.1.1.0+) 빌드한 앱에서 사용되고 있는 외부 패키지들은 다음과 같다. Firebase 11.5 Google Mobile Ads 8.5.3 Google Play Games 0.10.14 경고메시지의 원인은 파이베이스에서 사용되고 있는 모듈 때문에 발생하는 것이다. 경고 메시지를 없애려면 다음과 같이 하면 된다. Assets/Firebase/Editor/Ana.. 2023. 12. 16. Pod 을 업데이트 하기 다음과 같은 순서대로 진행하자. HomeBrew 설치 하기 (이미 설치되어 있다면 무시.) 루비로 개발된 Mac 용 패키지 관리 애플리케이션으로 공식 홈페이지( https://brew.sh/)를 참고해서 설치한다. 요약하면, 1. 터미널 창에서 다음 실행 > /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 2. 실행 경로 추가 > vi ~/.zshrc 실행 export PATH=/opt/homebrew/bin:$PATH 추가 :wq! 로 저장 > source ~/.zshrc 실행 > brew --version 으로 버전 확인 ruby 를 업데이트 하기 > brew install rb.. 2023. 12. 5. 이전 1 2 3 4 5 6 7 다음