728x90
에러메세지(Error message) :
The option setting 'android.enableR8=false' is deprecated. It will be removed in version 5.0 of the Android Gradle plugin. You will no longer be able to disable R8
수정해야 할 파일위치 (The file you should edit)
Asset > Plugins > Andorid > gradleTemplate.properties
org.gradle.jvmargs=-Xmx**JVM_HEAP_SIZE**M
org.gradle.parallel=true
//android.enableR8=false
unityStreamingAssets=.unity3d**STREAMING_ASSETS**
# Android Resolver Properties Start
android.useAndroidX=true
android.enableJetifier=true
# Android Resolver Properties End
**ADDITIONAL_PROPERTIES**
빨간부분 처럼 주석처리하면 됨. 줄 지우면 동일 에러 남
(이전프로젝트에서는 주석안돼있고 false로 돼있어도 빌드됐는데 새 프로젝트에서는 왜 안되는지 모르겠지만)
Edit like red line. Don't remove the line.
728x90
'개발일지' 카테고리의 다른 글
깊은복사 deepcopy C# (0) | 2023.03.14 |
---|---|
[Unity]Firebase storage 에서 local 파일로 assetbundle 다운받기 중 에러 (0) | 2022.12.05 |
[유니티] monobehaviour 스크립트 new 로 선언하지말아야할 경우. (1) | 2022.09.22 |
[유니티]콘솔창 디버그 string으로 가져오기 (1) | 2022.09.20 |
[유니티]앱 삭제해도 데이터 삭제 안되는 문제 해결 Manifest추가 (2) | 2022.09.15 |