当前位置:   article > 正文

vscode创建flutter项目无法运行的解决方法_command 'flutter.createsampleproject' not found

command 'flutter.createsampleproject' not found

1,根据本地gradle version修改distributionUrl的gradle version

2,添加国内镜像

 

  1. maven { url 'https://maven.aliyun.com/repository/google' }
  2. maven { url 'https://maven.aliyun.com/repository/jcenter' }
  3. maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }

3,根据flutter支持的Android SDK version修改compileSdkVersion和targetSdkVersion

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小小林熬夜学编程/article/detail/231843
推荐阅读
相关标签
  

闽ICP备14008679号