上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 48 下一页
摘要: 删除〜/.dartServer/.analysis-driver/ (mac系统),C:/Users/86177/AppData/Local/.dartServer/.analysis-driver/ (window系统) 删除项目以及各个模块下的.dart_tool文件夹和build文件夹 (或者 阅读全文
posted @ 2023-11-03 20:40 yongfengnice 阅读(549) 评论(0) 推荐(0)
摘要: 方法1: Intent intent = new Intent();// 创建Intent对象 intent.setAction(Intent.ACTION_MAIN);// 设置Intent动作 intent.addCategory(Intent.CATEGORY_HOME);// 设置Inten 阅读全文
posted @ 2023-10-31 12:00 yongfengnice 阅读(430) 评论(0) 推荐(0)
摘要: 1. 问题:Type BuildConfig is defined multiple times 2. 原因:两个依赖库的namespace名字相同导致,导致生成的BuildConfig 类路径一样导致编译失败 android { namespace 'com.suyf.demo' } 3. 解决方 阅读全文
posted @ 2023-10-27 17:35 yongfengnice 阅读(2163) 评论(0) 推荐(0)
摘要: flutter 自动换行处理 flutter自动换行有几种场景:column中,row中 在Column中的Text不用任何处理,能够自动换行。 在Row中的Text需要用Expanded包裹。因为文字是水平方向排放的,和Row的计算规则冲突,需要使用Expanded包裹,表示剩下的给Text,Te 阅读全文
posted @ 2023-09-23 18:33 yongfengnice 阅读(1458) 评论(0) 推荐(0)
摘要: # homebrew安装软件出现git问题 ### 问题 > fatal: not in a git directory > Error: Command failed with exit 128: git ### 问题查找 1. brew -v 查看问题log suyf@suyfdeMac-min 阅读全文
posted @ 2023-09-04 16:20 yongfengnice 阅读(205) 评论(0) 推荐(0)
摘要: 备份一下studio64.exe.vmoptions写法: ~~~ -Xms2g -Xmx16g -XX:ReservedCodeCacheSize=2g -XX:+IgnoreUnrecognizedVMOptions -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerM 阅读全文
posted @ 2023-08-03 10:59 yongfengnice 阅读(685) 评论(0) 推荐(0)
摘要: 1. Android studio3.1之后不再带有ddms调试工具了,不过如果我们想自己手动打开还是可以的。打开步骤如下: a. window下来自sdk安装目录tools目录下:D:\java\androidSdk\tools b. 可以看到有个monitor.bat文件,双击即可打开 c. 如 阅读全文
posted @ 2023-07-28 15:36 yongfengnice 阅读(212) 评论(0) 推荐(0)
摘要: 1. flutter.cn中文网站 https://flutter.cn/docs/get-started/install 2. flutter.dev官网网站 https://flutter.dev/ https://docs.flutter.dev/get-started/install 3. 阅读全文
posted @ 2023-07-19 11:11 yongfengnice 阅读(263) 评论(0) 推荐(0)
摘要: android studio各个版本更新说明列表官方地址: https://androidstudio.googleblog.com/ 国内下载地址列表: https://developer.android.com/studio/archive?hl=zh-cn https://www.androi 阅读全文
posted @ 2023-06-26 19:58 yongfengnice 阅读(1087) 评论(0) 推荐(0)
摘要: ![](https://img2023.cnblogs.com/blog/1020339/202306/1020339-20230607205208030-1497849941.png) 发现就只有这些测试之类的task,其他task呢?? 解决方法: ![](https://img2023.cnb 阅读全文
posted @ 2023-06-07 20:55 yongfengnice 阅读(223) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 48 下一页