异常处理
高玉阳
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
android模拟器MAC无法联网(安卓开发)
1.终端打开 安卓SDK下的emulator [hb@gaoyuyang18478 ~ % cd /Users/gaoyuyang18478/CONFIG_HOME/ASDK/emulator 这里的/Users/gaoyuyang18478/CONFIG_HOME/ASDK是我的SDK安装目录,换成自己的 2.执行以下代码 hb@gaoyuyang18478 emulator % emulator -avd flutter_emulator -dns-server 8.8.8.8,114.114.11原创 2021-06-29 16:53:48 · 829 阅读 · 2 评论 -
Warning: Interpreting this as package URI
报错 在VSCode中运行flutter程序时,出现以下错误: lib/main.dart: Warning: Interpreting this as package URI, 'package:firstapp/main.dart'. ../../CONFIG_HOME/FSDK/packages/flutter/lib/src/material/animated_icons.dart:9:8: Error: Not found: 'dart:ui' import 'dart:ui' as ui sho原创 2021-06-24 19:46:09 · 2289 阅读 · 2 评论 -
异常:dart: command not found
异常:dart: command not found 在安装好Flutter的情况下,运行dart文件时运行失败,在VSCode中报出以上错误。 检查 DART 插件和 Code Runner 插件已安装 检查 被运行文件是否是.dart结尾,并且在文件夹目录下 原因:没有配置 DART 的环境变量 解决: 1.打开 mac 终端,键入以下命令 open ~/.bash_profile 2.在该文件中写入环境变量信息 这里的~/CONFIG_HOME/FSDK/bin/cache/dart-sdk路径是自原创 2021-06-23 18:52:51 · 1222 阅读 · 2 评论
分享