flutter 求大神支招,为啥我的运行不起来

qq_42772577 2019-07-24 02:53:21
flutter 求大神支招,为啥我的运行不起来
...全文
314 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
cgs1999 2019-08-02
  • 打赏
  • 举报
回复
问题原因见楼上
m-oj 应用层 2019-07-24
  • 打赏
  • 举报
回复
不是说的很清楚了吗,你先找到这个文件D:\flutter app\flutter_app\flutter_app003\android\build.gradle 然后找到这句代码rootProject.buildDir = '../build'` ,后面多了一个`
qq_42772577 2019-07-24
  • 打赏
  • 举报
回复
搜了好多个地方,但是没用,还是这样
qq_42772577 2019-07-24
  • 打赏
  • 举报
回复
* Error running Gradle:
ProcessException: Process "D:\flutter app\flutter_app\flutter_app003\android\gradlew.bat" exited abnormally:

FAILURE: Build failed with an exception.

* Where:
Build file 'D:\flutter app\flutter_app\flutter_app003\android\build.gradle' line: 27

* What went wrong:
Could not compile build file 'D:\flutter app\flutter_app\flutter_app003\android\build.gradle'.
> startup failed:
build file 'D:\flutter app\flutter_app\flutter_app003\android\build.gradle': 27: unexpected char: '`' @ line 27, column 34.
rootProject.buildDir = '../build'`
^

1 error


* 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 2s
Command: D:\flutter app\flutter_app\flutter_app003\android\gradlew.bat app:properties


Please review your Gradle project setup in the android/ folder.

80,350

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧