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. T
I created a symbol link like described by Clézio before. However, I had to specify a suitable encoding (e.g chcp 65001) in command line before.
chcp 65001
mklink /D "C:\android-sdk" "C:\Users\René\AppData\Local\Android\sdk"
If you have your SDK installed under Path C:\Users[USER]\AppData... you may have to run command line with administrativ priviledges.
Your project path contains Chinese characters,
em: F:\资料\Yourproject
Please rename the path English characters:
em: F:\Data\Yourproject
What I actually did was redirect (I don't actually know the term) the path to my other user (my path was C:\Users\Keith Peñas\ etc.) then, I thought that I had this Spanish letter on, so I redirected the path to my other user, in this case it was (C:\Users\Keith). Then I had another problem: it was somewhat like "Your path cannot be with the rooted path". So I made a folder with the name of my app and then it worked!
Another problem I encountered was: "your path contains white space etc." and it was from my other disk.
Hope this helps!
The best solution to your problem is to move your project folder to other directory with no non-ASCII characters and blank spaces.
For example С:\Android\PROJECT-FOLDER
.
You can create the directory in C:\
using the name that you want.
This error occur because of path of project. Change your project path wiht way which dont contain nonAscii character.
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.