flutter打包apk的时候总是报这个错,网络查找无方,有遇到过的吗?该怎么解决?
H:\FlutterProjects\thermometer>flutter build apk
Initializing gradle... 1.6s
Resolving dependencies...
* Error running Gradle:
ProcessException: Process "H:\FlutterProjects\thermometer\android\gradlew.bat" exited abnormally:
FAILURE: Build failed with an exception.
* Where:
Build file 'H:\FlutterProjects\thermometer\android\app\build.gradle' line: 1
* What went wrong:
A problem occurred evaluating project ':app'.
> Could not set unknown property 'localProperties' for project ':app' of type org.gradle.api.Project.
* 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
Command: H:\FlutterProjects\thermometer\android\gradlew.bat app:properties
Please review your Gradle project setup in the android/ folder.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这里有一个人也有同样的问题
问题
证书啊,弟弟
localProperties这个地方都没找到文件, 能不报错吗?
可以搜一下flutter打包