最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

flutter - Why does vscode give me the following error even though I installed everything without any problems? - Stack Overflow

programmeradmin1浏览0评论

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.
Add a comment  | 

1 Answer 1

Reset to default 2

Actually 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.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论