go get timeout超时解决
- 2022-03-22
- go
go get的时候超时timeout了: ➜ukr (master) ✔ go get github.com/** package golang.org/x/net/html: unrecognized import path "golang.org/x/net/html" (https fetch: Get https://golang.org/x/net/html?...
解决Unhandled Exception: DatabaseException(error database_closed)
问题场景描述 使用Flutter的Sqlite执行多条SQL(execute multiple SQL)>10,这中间会进行原库与SQL比对,符合条件会进行关闭db.close,再new一个实例重新db初始化等,操作中报错如下: Unhandled Exception...
解决Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent
Android 12 对Android 12的兼容适配报错: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consider ...
解决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...
Android 12 快速适配要点
- 2022-03-02
- android
Android 12 需要更新适配点并不多,本篇主要介绍最常见的两个需要适配的点:android:exported 和 SplashScreen 。 一、android:exported 它主要是设置 Activity 是否可由其他应用的组件启动, “true” 则表...
Flutter判断区分Debug/Release/Profile模式
- 2022-01-03
- flutter
framework层已经有判断编译模式的代码了,我们直接拿来用就行. 在packages/flutter/lib/src/foundation/constants.dart中有:复制成功dart ...