Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Your project path contains non-ASCII characters android studio

I was installing android studio, but I have this problem when the program is starting:

Error:(1, 0) 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 using the command line flag -Dcom.android.build.gradle.overridePathCheck=true, or adding the line 'com.android.build.gradle.overridePathCheck=true' to gradle.properties file in the project directory.

like image 295
Frank Contreras Avatar asked Aug 23 '15 21:08

Frank Contreras


3 Answers

I solved this issue by adding this line

android.overridePathCheck=true

to

gradle.properties

As this message said

This warning can be disabled by using 
the command line flag -Dcom.android.build.gradle.overridePathCheck=true,
 or adding the line 
'com.android.build.gradle.overridePathCheck=true'
 to gradle.properties file in the project directory.
like image 192
Nana medo Avatar answered Oct 21 '22 06:10

Nana medo


I did create a symbol link (c:\android-sdk) in windows 10 and resolved:
mklink /D "c:\android-sdk" "C:\Users\Clézio\android-sdk"

like image 10
Clézio Santos Avatar answered Oct 21 '22 06:10

Clézio Santos


I have the same problem.then I create a new project and the path only use English alphabet,the problem is resolved.

like image 8
CaryMax Avatar answered Oct 21 '22 06:10

CaryMax