上一页 1 2 3 4 5 6 ··· 24 下一页
摘要: brew上还没有M1的JDK8,所以只能通过手动下载第三方的OpenJDK的方式,参考如下链接: https://dev.to/shane/configure-m1-mac-to-use-jdk8-with-maven-4b4g 阅读全文
posted @ 2022-07-20 18:07 GreatK 阅读(1414) 评论(0) 推荐(0)
摘要: 感谢大神 /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 阅读全文
posted @ 2022-07-20 18:00 GreatK 阅读(48) 评论(0) 推荐(0)
摘要: 1. 进入Flutter SDK安装目录 2. 执行git命令 git checkout <版本号>,比如 git checkout 2.0.4 阅读全文
posted @ 2022-07-14 13:21 GreatK 阅读(413) 评论(0) 推荐(0)
摘要: 1. 删除Flutter安装目录中的bin/cache目录,然后尝试flutter doctor -v 2. flutter clean 3. fluter build ios (这里不需要添加 --release 参数,至少我这里试下来不需要) 感谢作者(https://www.uedbox.co 阅读全文
posted @ 2022-06-28 15:02 GreatK 阅读(535) 评论(0) 推荐(0)
摘要: 这个问题主要源于iOS的安全策略,所以解决这个问题就要从iOS入手。方法如下(感谢作者:https://github.com/flutter/flutter/issues/33464#issuecomment-497055810): For the WebView: - ADD this in io 阅读全文
posted @ 2022-06-27 18:03 GreatK 阅读(332) 评论(0) 推荐(0)
摘要: 有时会遇到Docker Container stuck然后无法停掉的问题,这个时候可以通过kill方法强行停掉 1. 找出container所在的process id ps aux | grep <<container>> | awk '{print $1 $2}' 随后会输出 <<user>><< 阅读全文
posted @ 2022-05-07 15:38 GreatK 阅读(2148) 评论(0) 推荐(0)
摘要: 参考这篇文章搭建隧道 https://juejin.cn/post/6844903508513128455 但是访问MySQL服务时,报Access denied for user 'xxx'@'localhost'的错误。检查下来,原来是因为文章中使用 ssh -R 3306:127.0.0.1: 阅读全文
posted @ 2022-03-11 17:05 GreatK 阅读(264) 评论(0) 推荐(0)
摘要: WEB运行: flutter run -d chrome --web-renderer html WEB打包: flutter build web --web-renderer html 重建丢失的ios或者其它目录 flutter create . 阅读全文
posted @ 2021-12-16 15:53 GreatK 阅读(31) 评论(0) 推荐(0)
摘要: 当升级Mac后,执行gradle build命令时,出现了报错提示: Kotlin could not find the required JDK tools in the Java installation 原因是Mac升级后,会重新安装JRE,并且设置为默认JAVAHOME,解决办法如下: 首先 阅读全文
posted @ 2021-11-25 15:14 GreatK 阅读(208) 评论(0) 推荐(0)
摘要: 打开Nginx的配置文件中,在对应的反代域名下,添加 proxy_connect_timeout 300; proxy_send_timeout 300; proxy_read_timeout 300; send_timeout 300; 即可。 阅读全文
posted @ 2021-11-24 11:46 GreatK 阅读(1487) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 24 下一页