If you have a problem with this and the error written in title : picked up java_tool_options: -dfile.encoding=utf-8
It is caused by forced changing version of unity project. (https://forum.unity.com/threads/cant-build-android.1354328/)
You can solve by these steps.
Step1. Unity Project setting > Publishing setting > Check Custom Gradle Proierties Template
Step2. Open Assets/Plugins/Android/gradleTemplate.properties
Step3. Remove this line : android.enableR8=**MINIFY_WITH_R_EIGHT**
'게임개발' 카테고리의 다른 글
unity androidjavaexception: java.lang.classnotfoundexception: com.google.android.gms.games.playgames (0) | 2024.03.12 |
---|---|
GooglePlayGames Unity SDK RequestServerSideAcces InvalidOperationException (0) | 2024.02.09 |
c# parse formatexception 문제 (0) | 2023.09.16 |
유니티 에디터와 안드로이드에서 색이 다른 경우 (0) | 2023.07.23 |
Shader Graph 반투명 뒷면이 비치는 문제 (0) | 2023.07.14 |