Flutter与我
我司产品公测,有用户反馈说用Flutter来架构app。我看到这个词的时候第一反应是这是个啥玩意?
好吧,去瞅瞅,嗯,貌似不错,2018年出现的新东西,还是跨平台的。我本来是做iOS的,一直在想是否要把安卓也学会,现在看到flutter,毫不犹豫,flutter我来了,哈哈。
学习连接:
https://flutterchina.club/get-started/test-drive/#androidsstudio
视频教程:
https://ninghao.net/video/6362
插件推荐:https://juejin.im/post/5c19f4b551882543871d62fc
1.网上找一篇介绍详细的blog对着就是一顿操作-环境配置
下面记录操作过程中需要和遇到的东西
环境变量:
PUB_HOSTED_URL=https://pub.flutter-io.cn
FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn

ANDROID_HOME 安卓sdk路径
image.png
安装as证书
flutter doctor --android-licenses
当提示Y/N选择时,请直接选择Y即可完成安装。
adb环境变量配置
https://blog.csdn.net/shengmer/article/details/79027828
DetectedADB 警告

在assdk的platform-tools下adb这个路径设置到3的位置

报错
Error connecting to the service protocol:
HttpException: Connection closed before full header was received,
uri = http://127.0.0.1:11692/a5X01SG2cuw=/ws
网友评论