안녕하세요 일단 불완전한 해결을 보긴했습니다.
일단 뒤끝 구글로그인 sdk 문서 업데이트가 되었고 그부분 확인
dependencies 설정 (동일하더라구요) 이건 패스
외국포럼좀 찾아보다가 비슷한 문제 확인하였고
Ok found a workaround temp fix. @unity needs to resolve this matter but here is the workaround that just worked for me. I have two projects of my game, one in unity 6 and one In unity 2023. Install the same plugin in both, so for me that was 10.14. Go to the 2023 (or older) stable version where force resolver works no problem. So what you do is after force resolve, look in Assets\Plugins\Android. You’ll see dozens of plug-ins. Reveal that plugin folder in finder. Now go back to Unity 6. Make sure your android setup (window> google play games) is done, then go to external dependency and do a regular resolve, not a force. Because of the bug, there should be no plug-ins in there, and if there is, delete whatever is in there except GooglePlayGamesManifest. Reveal that folder in finder. Now copy everything in the 2023 plug in folder and paste it into the unity 6 plug in folder. If it asks to replace certain files, click replace. Come back to unity 6, all the plug ins should now be in there.
DO NOT FORCE RESOLVE - DO NOT REGULAR RESOLVE - DO NOT DO THE GOOGLE PLAY GAMES ANDROID SET UP - DO NOT BUILD AND RUN - DO NOT DO ANYTHING NOW EXCEPT THIS
- Make sure your publisher settings and player settings, etc are how you want it to be for the build. SDK MINIMUM SHOULD BE API 26 and set target to 35. You must set min to 26 or it will crash.
- DO NOT BUILD & RUN - if you do, it will remove the plug ins and you’ll have to copy and paste again and it will throw the Gradle error
- INSTEAD do build profiles and just make a regular build FIRST
- It should now successfully build it out without the Gradle issue (no clue why)
- NOW, after it successfully built it, press build and run and it’ll successfully install the apk onto your device. Again, if you do build and run first, it won’t do a successful build.
ALSO - ANOTHER SUGGESTION
For the time being I would uncheck “enable auto-resolution” and “enable resolution on build” in the external dependency android resolver settings. If you don’t disable these two, every time you close and open your project, you’ll have to copy and paste the plug ins again. You also don’t need to do the android setup anymore either, it’s already set and if you do that, you’ll have to once again copy and paste the plug-ins.
This is my temporary fix for now. Unity, please figure out what’s going on. Hope this helps someone else
구글쪽 문제인걸로 확인된거 같아요
api레벨 최소 26 최대 35로 고정하고 빌드 시키니 구글로그인이되긴하네요.