Filippo Scalvedi
Filippo Scalvedi

Reputation: 137

gradle build failed while building android app on Unity

Bonsoir guys, I'm a real beginner into app developing but I was trying to create a simple mobile game just to start. While trying to build it tho, I get this gradle error which seems impossible to figure out how to solve.

Here's the console log:

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

FAILURE: Build failed with an exception.

Failed to apply plugin [id 'com.android.application'] Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See http://b.android.com/95744 for details. This warning can be disabled by adding the line 'android.overridePathCheck=true' to gradle.properties file in the project directory.

BUILD FAILED in 0s

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Any suggestions on how to solve this?

Upvotes: 0

Views: 1752

Answers (1)

anonymus1994.1
anonymus1994.1

Reputation: 318

Sorry, but have you read the error message?

Your project path contains non-ASCII characters.

I guess the 'à' in Università is the problem.

Please move your project to a different directory.

You can move the project to a different directory where no non-ASCII char is in the path or rename that folder.

Upvotes: 1

Related Questions