FAILURE: Build failed with an exception.
Where: Build file 'C:\Users\asali\OneDrive\Masa�st�\flutter_application_1\flutter_application_1\flutter_application_2\android\app\build.gradle' line: 2
What went wrong: An exception occurred applying plugin request [id: 'com.android.application']
Failed to apply plugin 'com.android.internal.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 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 .
BU�LD FAILED in 32s Error: Gradle task assembleDebug failed with exit code 1
When I start the project, it runs the emulator, but it gives this error in the debug section.
FAILURE: Build failed with an exception.
Where: Build file 'C:\Users\asali\OneDrive\Masa�st�\flutter_application_1\flutter_application_1\flutter_application_2\android\app\build.gradle' line: 2
What went wrong: An exception occurred applying plugin request [id: 'com.android.application']
Failed to apply plugin 'com.android.internal.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.
BU�LD FAILED in 32s Error: Gradle task assembleDebug failed with exit code 1
When I start the project, it runs the emulator, but it gives this error in the debug section.
Share Improve this question asked Feb 7 at 12:29 Alper Salih DEMİRCİAlper Salih DEMİRCİ 11 bronze badge New contributor Alper Salih DEMİRCİ is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.1 Answer
Reset to default 2Actually error says everything clearly;
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.
Your project path has Non-ASCII Character, for your case its seems like the "Ü" char at "/Masaüstü/".
For the solution; you can change the project location to another file what its not has a non-ASCII char or open a folder outside the desktop and do not contain any non-ASCII characters. Do not contain any Turkish characters like ü,ğ,ö etc.