flutter Your application could not be compiled, because its dependencies could not be established

#Your application could not be compiled, because its dependencies could not be established
刚开始开始使用flutter 在Android studo 中新建一个widget 总是报错
经过反复试验 是因为代码中的字符串有汉字,就会报这个错
如果字符串是英文 就没有问题
之后把编码格式有GBK改为UTF-8 就好了