flutter run 报错
来源:3-5 Flutter开发环境与Android开发环境设置详解(Windows)
慕田峪2101736
2022-08-28
FAILURE: Build failed with an exception.
-
Where:
Build file ‘C:\Users\Ҧ����\Desktop\myfill\xc\flutter_trip\android\app\build.gradle’ line: 24 -
What went wrong:
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
BUILD FAILED in 3s
Running Gradle task ‘assembleDebug’… 4.6s
Exception: Gradle task assembleDebug failed with exit code 1
2回答
-
CrazyCodeBoy
2022-08-30
嗯,好的。00 -
CrazyCodeBoy
2022-08-29
亲是运行的课程源码报错,还是自己搭建的项目报错呢012022-08-29
相似问题