摘要: 安装oh-my-zsh 手动安装oh-my-zsh,命令如下: git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zsh 阅读全文
posted @ 2021-09-26 16:47 MJHelloWorld 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 下载 SDK SDK 下载链接模板: https://storage.googleapis.com/dart-archive/channels/<stable/dev>/release/<release>/sdk/dartsdk-<platform>-<architecture>-release.z 阅读全文
posted @ 2020-06-08 18:25 MJHelloWorld 阅读(729) 评论(0) 推荐(0) 编辑
摘要: class Service { // 工厂模式 factory Service() =>_getInstance(); static Service get instance => _getInstance(); static Service _instance; Service._internal 阅读全文
posted @ 2020-06-05 17:25 MJHelloWorld 阅读(1612) 评论(0) 推荐(0) 编辑
摘要: 1.私有仓库搭建: https://github.com/dart-archive/pub_server 2.开发 package: https://flutterchina.club/using-packages/ 3.上传 修改pubspec.yaml文件,添加 publish_to: http 阅读全文
posted @ 2020-05-27 19:07 MJHelloWorld 阅读(2410) 评论(0) 推荐(0) 编辑
摘要: 1.Waiting for another flutter command to release the startup lock... 打开flutter安装目录/bin/cache,删除lockfile文件 阅读全文
posted @ 2020-05-07 11:40 MJHelloWorld 阅读(122) 评论(0) 推荐(0) 编辑
摘要: pod repo add demo http://demo-podspec.git // podspec 仓 pod lib create demo // 创建pod项目 修改spec文件 pod lib lint --allow-warnings --verbose pod lib lint -- 阅读全文
posted @ 2019-03-02 19:26 MJHelloWorld 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 然后注册 启动 注册成功后 2.将gem的source改为https://gems.ruby-china.org/。 结果应为: 3.检查Xcode命令行工具是否安装。在终端输入以下命令: 如果没有安装会进行安装 4.安装xcpretty 如遇到 使用 错误: 执行指令 如 将https://gem 阅读全文
posted @ 2017-07-31 16:10 MJHelloWorld 阅读(1586) 评论(0) 推荐(0) 编辑
摘要: 。。 阅读全文
posted @ 2017-07-28 15:27 MJHelloWorld 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 尝试使用Swift进行日志收集 失败,最后还是调用OC实现 AppDelegate中 CatchCrash.swift CatchCrash-Bridging-Header.h 中进行桥接 HandleCrash.h HandleCrash.m 阅读全文
posted @ 2017-07-28 15:19 MJHelloWorld 阅读(1857) 评论(0) 推荐(0) 编辑
摘要: 1.升级最新版本 sudo gem install -n /usr/local/bin cocoapods --pre //加"--pre"下载最新的bate版本,不加的话下载的是最新的已发布版本 阅读全文
posted @ 2017-06-21 09:25 MJHelloWorld 阅读(100) 评论(0) 推荐(0) 编辑