摘要:
Mac系统重新安装Homebrew 删除Homebrew sudo rm -rf Cellar Frameworks Homebrew 安装Homebrew /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/maste 阅读全文
摘要:
flutter开发实现Checkbox样式自定义修改包括修改勾选颜色背景颜色等 Checkbox( materialTapTargetSize: MaterialTapTargetSize.shrinkWrap, value: widget.isChecked ?? false, onChanged 阅读全文
摘要:
让Window可以预览查看Svg图标的解决方法 下载插件包 下载地址:https://github.com/maphew/svg-explorer-extension/releases 也可以直接下载安装包 https://github.com/tibold/svg-explorer-extensi 阅读全文
摘要:
android开发Android Studio Electric Eel可以手机投屏啦 在Android Studio Electric Eel版本之前,我们需要进行手机投屏,一般使用Vysor等软件,这还是付费的哦,而且还不是很稳定 Android Studio Electric Eel版本开始有 阅读全文
摘要:
一图读懂Surface、SurfaceTexture、Texture、TextureView、SurfaceView、GLSurfaceView之间的关系 仅供自己参考以及理解使用 阅读全文
摘要:
android开发kotlin顶级函数和拓展函数的实现原理 //我们编写的源代码在MainActivity.kt下面,如下: fun topTest(){ print("123") } fun MainActivity.extTest(){ print("456") } class MainActi 阅读全文
摘要:
添加github仓库路径后更新代码,执行git pull origin main报这个错误 * branch main -> FETCH_HEAD fatal: refusing to merge unrelated histories 原因:远程仓库有改动,早于本地添加仓库路径,导致出现拒绝mer 阅读全文
摘要:
if判断中常使用的shell选项 选项 含义 -eq //等于 equal -ne //不等于 not equal -gt //大于 greater than -lt //小于 less than -ge //大于等于 greater equal -le //小于等于 less equal -z 判 阅读全文
摘要:
public static boolean isVersionNew(String newVer, String lastVer) { if (TextUtils.isEmpty(newVer) || TextUtils.isEmpty(lastVer)) { return false; } Str 阅读全文
摘要:
查看自己app进程列表,可能是多进程,都可以查看出来 adb shell "ps -Af | grep com.suyf.demo" #com.suyf.demo是自己app的包名,即可查看自己包名的所有进程pid 比如上面查看某个进程pid是15761 使用logcat过滤规则:level:deb 阅读全文