Reputation: 53
When I run the emulator while using vscode, I get an error like this. What can I do?
A problem occurred evaluating project ':app'.
> 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.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org```
Upvotes: 4
Views: 2158
Reputation: 115
This error occurs because of the path of the project. Change your project path with a way which don't contain non-ASCII character.
For example С:\Android\PROJECT-FOLDER.
Upvotes: 2