Android Studio - non-ASCII Characters

Asked

Viewed 13,385 times

2

I bought a project for android studio. when opening appears the following error.

Error:(14, 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.

What should I do to fix?

  • 2

    Basic thing for any developer: do not use accentuation, avoid spaces in the name of the files, and preferably not uppercase and lowercase when it comes specifically to Resources of the project or application.

2 answers

9

The error is warning you that in the project path there are letters outside of ASCII. It’s probably accented letters, cedilla, typographical hyphens, that sort of thing, and that it creates problems.

What you must do?

Please move your project to a Different directory.

Move/copy your project to a path that only contains letters and numbers, no accents, cedilla, etc. C:\Temp\Projeto it may be an attempt.

  • That solved my problem. Thank you very much!

1

It’s happened to me before. Review some files have in your project folder,in my case I found an image I would put in my app "testCopy.png" Delete or change the file name and so it will be solved

Browser other questions tagged

You are not signed in. Login or sign up in order to post.