请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

flutter run 报错

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

正在回答 回答被采纳积分+3

2回答

CrazyCodeBoy 2022-08-30 08:56:51
嗯,好的。
0 回复 有任何疑惑可以回复我~
CrazyCodeBoy 2022-08-29 09:05:18
亲是运行的课程源码报错,还是自己搭建的项目报错呢
0 回复 有任何疑惑可以回复我~
  • 提问者 慕田峪2101736 #1
    运行课程源码,已经解决了,原因是电脑用户名为中文
    回复 有任何疑惑可以回复我~ 2022-08-29 09:14:16
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信