AndroidExternalToolsSettings.gradlePath

public static string gradlePath;

Description

Path to the Gradle which is used when building Android applications.

Providing an empty string or a null will enable "Installed with Unity (recommended)" checkbox in External Tools Preferences window. Providing non-empty string to a valid path will disable "Installed with Unity (recommended)" checkbox in External Tools Preferences window and will use the provided path. Providing non-empty string to an invalid path will throw an exception.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答