[Unity] Android12 Build Error 본문
1. Android 12 앱 빌드 후 스토어에 게시했지만, 앱 설치를 시도했을 때 '설치할 수 없다'라는 문제가 발생될 때
https://developers.google.com/ar/develop/unity-arf/android-12-build
Unity로 Android 12용 빌드 | ARCore | Google Developers
Google은 흑인 커뮤니티의 인종 평등을 증진하기 위해 최선을 다하고 있습니다. 방법을 참조하십시오. 이 페이지는 Cloud Translation API를 통해 번역되었습니다. Switch to English 의견 보내기 Unity로 Androi
developers.google.com
위 링크의 제일 아래 exported구문을 추가
2. 앱 설치엔 성공했지만, 앱 실행시 바로 강제 종료되는 경우
java.lang.IllegalArgumentException: com.unityproject.game: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
위와 같은 에러가 표기된다면
https://forum.unity.com/threads/cant-build-with-target-sdk-31.1189873/
Bug - Cant build with Target SDK 31
I'm trying to build with target SDK 31 and this error is happening: CommandInvokationFailure: Gradle build failed....
forum.unity.com
위 링크의 제일 하단 부분 해결방법 시도해보기