flutter 1.12.13+hotfix.5 编译报错
grapewheel opened this issue · 6 comments
grapewheel commented
Could not compile build file '/opt/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.5.1/android/build.gradle'
Sky24n commented
哪一个flutter分支呢
grapewheel commented
Flutter is already up to date on channel stable
Flutter 1.12.13+hotfix.5 • channel stable • https://github.com/flutter/flutter.git
Sky24n commented
我这边能正常运行,你把项目清除下,flutter clean试试
Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.17763.914], locale zh-CN)
grapewheel commented
flutter clean并重启后依然不行,我用的是 flustars 0.2.6+1
Sky24n commented
把.pub-cache/hosted/pub.dartlang.org文件夹下的path_provider库删除了,然后重新flutter packages get试试
grapewheel commented
我找到原因了,是由于jdk版本过高导致编译失败,flutter目前只能用1.8