Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this sourc

这篇具有很好参考价值的文章主要介绍了Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this sourc。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

flutter doctor 执行 报错

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [版本 10.0.19044.2846], locale zh-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 4.2)
[√] Connected device (2 available)
[√] HTTP Host Availability

2.执行 flutter doctor --android-licenses 报错

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
java.lang.UnsupportedClassVersionError: com/android/prefs/AndroidLocationsProvider has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

废话不多,原因:

当前使用的jdk版本太低,博主第一次使用的是jdk1.8,之后换成11.0.1 ,解决了问题

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this sourc

 备注:更换完jdk以后,一定要记得,as、环境变量配置里面都要改哦(详细的就不多说了,毕竟大家都知道bd的,*-*)文章来源地址https://www.toymoban.com/news/detail-510228.html

到了这里,关于Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this sourc的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包赞助服务器费用

相关文章

  • ERROR: cannot download default sources list from: https://raw.githubusercontent.com

    ERROR: cannot download default sources list from: https://raw.githubusercontent.com 报错原因是GitHub的raw.githubusercontent.com无法连接 需要解决GitHub的raw.githubusercontent.com无法连接问题 通过IPAddress.com首页,输入raw.githubusercontent.com查询到真实IP地址 修改hosts Ubuntu, sudo vi /etc/hosts 添加以下内容保存即可

    2024年02月13日
    浏览(10)
  • /storage/emulated/0/Download/copy_download.db (Permission denied)错误的处理方法

    /storage/emulated/0/Download/copy_download.db (Permission denied)错误的处理方法

    报错信息:   其实这个问题是由于Android6.0更新了权限机制,在6.0之前,写入sd卡权限只需在清单文件中添加  即可,而在6.0及以上版本,对一些公共目录的访问比如:/storage/emulated/0/Download 则需要在activity中用代码来请求一些敏感的权限方可实现,其中就包括对sd卡的操作权限

    2024年02月13日
    浏览(35)
  • 解决:Unity : Error while downloading Asset Bundle: Couldn‘t move cache data 问题

    解决:Unity : Error while downloading Asset Bundle: Couldn‘t move cache data 问题

    目录 问题: 尝试 问题得到解决 我的解释          最近游戏要上线,发现一个现象,部分机型在启动的时候闪退或者黑屏,概率是5%左右,通过Bugly只有个别机型才有这个现象,其实真实情况比这严重的多,bugly有时候并不能捕捉到这种情况,我们各种怀疑和查找,最终

    2024年01月17日
    浏览(10)
  • these untracked files will be overwritten by checkout

    these untracked files will be overwritten by checkout

    android studio check out 分支的时候,出现these untracked files will be overwritten by checkout 处理方式 1,进入项目目录下 2,git bash here 3,执行,git clean -d -fx,问题解决。

    2024年02月11日
    浏览(11)
  • spring报错 XXX will not be managed by Spring

    spring报错 XXX will not be managed by Spring

    如上提醒表示当前不是Spring管理着呢,是你的数据库插件Mybatis或者MybatisPlus给你管理呢,所以Spring给你温馨提醒了一下而已,又没有报错! 解决的办法是在数据查找的方法上添加 然后就会变成spring管理啦, 同时会变成事务的形式,方法中的任何报错都会导致方法回滚!

    2024年02月12日
    浏览(9)
  • Git 提示 “warning: LF will be replaced by CRLF“的思考

      在windows平台进行 git add 时, 控制台有时会打印警告 warning: in the working copy of ‘XXX.sh’, LF will be replaced by CRLF the next time Git touches it.   查看了一些资料, 大概弄清了 core.autocrlf 配置选项的作用: git config --global core.autocrlf true 适用于Windows系统, 且一般为Windows默认设置, 会在提

    2024年01月18日
    浏览(5)
  • Refused to apply style from ‘http://localhost:8080/src/assets//css/reset.css‘

    Refused to apply style from ‘http://localhost:8080/src/assets//css/reset.css‘

    完整报错信息是 Refused to apply style from \\\'http://localhost:8080/src/assets//css/reset.css\\\' because its MIME type (\\\'text/html\\\') is not a supported stylesheet MIME type, and strict MIME checking is enabled 问题就是这个文件的类型不是一个受支持的样式表,无法应用样式。 在 vue 项目中,在 src 的 assets 目录下设置了一

    2024年02月16日
    浏览(24)
  • JAR will be empty - no content was marked for inclusion!

    JAR will be empty - no content was marked for inclusion!

            在对自建pom依赖组件打包时,出现JAR will be empty - no content was marked for inclusion!错误。        在pom中怎么加packaging标签内容为pom,标识只打包pom文件  完成

    2024年02月09日
    浏览(8)
  • No URLs will be polled as dynamic configuration sources警告处理

    No URLs will be polled as dynamic configuration sources警告处理

    启动Eureka 注册中心出现如下警告 WARN 3732 — [main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources. INFO 3732 — [main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properti

    2023年04月08日
    浏览(6)
  • Custom directive is missing corresponding SSR transform and will be ignored

    最近在给业务组件库集成指令库,将各个项目中常用的指令如一键复制、元素和弹窗拖拽等封装到一起,进行统一发版维护。 业务组件库项目架构采用的是pnpm+vite+vue3+vitepress,其中vitepress主要做组件库文档站点同时展示可交互的组件。 开发运行时指令库demo没有问题,构建编

    2024年02月09日
    浏览(6)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包