
解决each Hero must have a unique non-null tag.
- 2022-03-08
- flutter
完整错误如: Within each subtree for which heroes are to be animated (i.e. a PageRoute subtree), each Hero must have a unique non-null tag. 或者 I/flutter (8790): Another exception was t...

解决HTTP host https://maven.google.com/ is not reachable
- 2022-03-08
- flutter
更新flutter之后运行flutter doctor 出现错误: [!] HTTP Host Availability ✗ HTTP host https://maven.google.com/ is not reachable. Reason: An error occurred while checking the HTTP host: Opera...

Flutter 逆向工程框架
reFlutter reFlutter是一款功能强大的逆向工程分析工具,该工具主要针对的是Flutter应用程序。该框架使用了已编译且重新封装的Flutter库来帮助广大研究人员对Flutter应用程序进行逆向工程分析。 除此之外...

Flutter/Dart循环 for、 while 、do..while 、break、continue
++、-- 表示自增、自减,运算规则和java类似在赋值运算里:如果++、--写在前面,表示先运算,后赋值如果++、--写在后面,表示先赋值,后运算while 、do..while区别:do..while无论条件是否成立,首先执行一次bre...
Flutter判断区分Debug/Release/Profile模式
- 2022-01-03
- flutter
framework层已经有判断编译模式的代码了,我们直接拿来用就行. 在packages/flutter/lib/src/foundation/constants.dart中有:复制成功dart const ...
解决Could not find ‘CFPropertyList’ (>= 2.3.3, < 4.0) among 92 total gem(s) (Gem::MissingSpecError)
在pod install时报错 Could not find 'CFPropertyList' (>= 2.3.3, < 4.0) among 92 total gem(s) (Gem::MissingSpecError) Checked in 'GEM_PATH=/U...
解决could not find included file ‘Pods/Target Support Files/Pods-Runner/Pods-Runner
当运行IOS run的时候发生了编译的报错: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runne 解决办法如下 根目录...

flutter应用程序图标制作简单方法
- 2021-10-23
- flutter
其实之前已经有写过一篇文章《Flutter应用图标自适应方案:标准规范自动圆角不变形》,结合着看也行。 让我们承认这一点ーー管理应用程序图标是一项重复的任务。他们必须生成的多分辨率和手动放置在几个文件...

Flutter git忽略.gitignore配置
- 2021-10-16
- flutter
基础模板直接看官方的: flutter官方.gitignore文件 # Miscellaneous *.class *.lock *.log *.pyc *.swp .DS_Store .atom/ .buildlog/ .history .svn/ # IntelliJ related *.iml *.ipr *.iws .idea/ # V...

Android包名不能以数字开头
以前没用过数据开头的包名,今天遇到了,一直报以下错误 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processReleaseResources'. > A failure occurred...