摘要: cd /Users/目标路径find . -name '*.DS_Store' -type f -delete 阅读全文
posted @ 2022-02-11 17:51 crane13 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 1.重写UIHelper isOpaque = false; 2. fun makeItTransparent() { val options = renderer.clearOptions options.clear = true renderer.clearOptions = options } 阅读全文
posted @ 2022-02-09 18:34 crane13 阅读(858) 评论(3) 推荐(0) 编辑
摘要: 新macbook Python 3.9.6,阿里云oss报错。 解决: 升级pip: python3 -m pip install --upgrade pip 重新安装oss2: pip install oss2 阅读全文
posted @ 2022-02-07 17:39 crane13 阅读(936) 评论(0) 推荐(0) 编辑
摘要: 很长一段时间未用cocoapods,更新不了最新的三方库,要求升级cocoapods。 1、升级Ruby环境 sudo gem update --system 2、更新cocoapods sudo gem install -n /usr/local/bin cocoapods 结果报错: Build 阅读全文
posted @ 2021-02-24 09:42 crane13 阅读(1002) 评论(0) 推荐(0) 编辑
摘要: 最近发现Github图片无法加载或者显示异常,查资料后发现修改Host即可解决。解决方法如下:打开Finder, 按快捷键组合 Shift+Command+G,输入 Hosts 文件的所在路径:/etc/hosts Host 文件地址 点击前往,即可在 Finder 窗口中可以看到 Hosts 文件 阅读全文
posted @ 2021-02-23 10:20 crane13 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Androidx 迁移方法: 首先把 gradle 版本改为3.2.0以上,以及 compileSdkVersion 为28以上 然后 Android Studio 菜单栏 Refactor -> Migrate to AndroidX 如果是新项目,使用AndroidX相关依赖,可以在gradle 阅读全文
posted @ 2019-06-01 15:40 crane13 阅读(3546) 评论(0) 推荐(0) 编辑
摘要: af 公用荷兰语 af-ZA 公用荷兰语 - 南非 sq 阿尔巴尼亚 sq-AL 阿尔巴尼亚 -阿尔巴尼亚 ar 阿拉伯语 ar-DZ 阿拉伯语 -阿尔及利亚 ar-BH 阿拉伯语 -巴林 ar-EG 阿拉伯语 -埃及 ar-IQ 阿拉伯语 -伊拉克 ar-JO 阿拉伯语 -约旦 ar-KW 阿拉伯 阅读全文
posted @ 2019-05-22 17:46 crane13 阅读(10167) 评论(0) 推荐(0) 编辑
摘要: const AspectRatio({ Key key, @required this.aspectRatio, Widget child,}) void main() { runApp( new MaterialApp( title: 'Demo', home: new Scaffold( appBar: new AppBar( ... 阅读全文
posted @ 2019-05-21 20:14 crane13 阅读(1635) 评论(0) 推荐(0) 编辑
摘要: 修改 pubspec.yaml 文件增加第三方库之后,AndroidStudio 像往常一样提示 需要 package get。 然后一直卡在 等啊等,等不了想重新执行package get,结果 解决方法: 打开flutter安装文件夹,找到\bin\cache中的lockfile文件,删除之,就 阅读全文
posted @ 2019-05-20 17:10 crane13 阅读(1580) 评论(0) 推荐(0) 编辑
摘要: 1、webstorm快捷键:IntelliJ-Idea 的快捷键Ctrl+/或Ctrl+Shift+/注释(//或者/*…*/)Shift+F6重构-重命名Ctrl+X删除行Ctrl+D复制行Ctrl+G查找行Ctrl+Shift+Up/Down代码向上/下移动。F2或Shift+F2高亮错误或警告... 阅读全文
posted @ 2015-02-27 23:14 crane13 阅读(224) 评论(0) 推荐(0) 编辑