“选择了 JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8” 这个构建错误是什么意思?

问题描述 投票:0回答:1

选择了 JAVA_TOOL_OPTIONS:-Dfile.encoding=UTF-8

FAILURE: Build failed with an exception.

* Where:
  Build file 'D:\\Unity\\Project\\My project\\New Project\\Library\\Bee\\Android\\Prj\\IL2CPP\\Gradle\\launcher\\build.gradle' line: 1

* What went wrong:
  A problem occurred evaluating project ':launcher'.

> Failed to apply plugin 'com.android.internal.application'.
> Cannot parse project property android.enableR8='' of type 'class java.lang.String' as boolean. Expected 'true' or 'false'.

* Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

出现此构建错误消息。我该如何解决它?

我在使用 Unity 构建时看到一条错误消息,但我是 Unity 初学者,所以我不知道这意味着什么。

android unity-game-engine error-handling build
1个回答
0
投票

我解决了这个问题。 只有两个斜杠,//。 //UTF= 就是这样。

© www.soinside.com 2019 - 2024. All rights reserved.