flutter报错--ProcessException: Process... gradlew.bat ...exited abnormally

在 VScode 中 debug flutter 是遇到如下问题:

ProcessException: Process "G:\demo\flutter\hello_word\android\gradlew.bat" exited abnormally: 
Error occurred during initialization of VM Could not reserve enough space for object heap Command: 
G:\demo\flutter\hello_word\android\gradlew.bat -v

解决方法:关掉FQ软件(把小飞机关了,就能正常运行了...)。

posted @ 2019-07-17 12:03  啤酒煮鸡蛋  阅读(2261)  评论(0编辑  收藏  举报