摘要: 1.手动删除原来的库 比如 2.flutter clean 3.flutter packages get 4.flutter packages upgrade 5.先运行一遍项目,然后去重新打开文件查看是否更新。 阅读全文
posted @ 2021-01-05 09:26 yxg889 阅读(930) 评论(0) 推荐(0) 编辑
摘要: 1. 将Automatically manage signing 修改为手动设置Profile 1.1 Build Setting - 配置Code Sign Identity和Provisioning Profile(需要去开发者中心选择Profile进行生成,并下载后安装到Mac) 1.2 报错 阅读全文
posted @ 2020-12-09 11:32 yxg889 阅读(85) 评论(0) 推荐(0) 编辑
摘要: file - New Project Settings - Default Project Structure flutter config --android-sdk /Users/xxxx/Library/Android/sdk 阅读全文
posted @ 2020-11-26 14:01 yxg889 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 举例 fatal: unable to access 'https://github.com/zhangao0086/DKImagePickerController.git/': Failed to connect to localhost port 50321: Connection refuse 阅读全文
posted @ 2020-11-12 15:23 yxg889 阅读(815) 评论(0) 推荐(1) 编辑
摘要: single instance import 'dart:async'; import 'package:flutter/cupertino.dart'; import 'package:flutter_easyloading/flutter_easyloading.dart'; import 'p 阅读全文
posted @ 2020-09-19 23:16 yxg889 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 解决方法 点我 被xx? 打不开,没法fq?先试试火狐 plugin Decentraleyes 阅读全文
posted @ 2020-09-10 16:37 yxg889 阅读(1804) 评论(0) 推荐(0) 编辑
摘要: No Device 方法1 Android flutter config --android-sdk /Users/yangxuguang/Library/Android/sdk flutter config --android-studio-dir /Users/yangxuguang/Appli 阅读全文
posted @ 2020-09-07 21:16 yxg889 阅读(923) 评论(0) 推荐(0) 编辑
摘要: 以aws_sns_api插件为例 import 'package:flutter/material.dart'; import 'package:aws_sns_api/sns-2010-03-31.dart'; import 'dart:async'; void main() { // aws s 阅读全文
posted @ 2020-09-02 13:46 yxg889 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 注册 描述和bundle id 有推送 上一步结束之前勾选Push Notifications 详情页可配置推送证书 下载证书 双击 钥匙串中查看并导出为p12 密码记好 上传证书到管理中心 创建项目后 先去开发者中心创建AppleID 证书,最后在项目中开启推送开关,顺序反了则appleid不能创 阅读全文
posted @ 2020-09-01 14:15 yxg889 阅读(131) 评论(0) 推荐(0) 编辑
摘要: Plugins Plugins AWS API client for Amazon Simple Notification Service aws_sns_api flutter create -h swift 和 kotlin是默认的 Example flutter create -i objc 阅读全文
posted @ 2020-08-31 17:32 yxg889 阅读(141) 评论(0) 推荐(0) 编辑