Skip to content

Latest commit

 

History

History
137 lines (101 loc) · 2.93 KB

RECORD.md

File metadata and controls

137 lines (101 loc) · 2.93 KB

flutter build apk --target-platform android-arm64 -t lib/main_prod.dart --no-sound-null-safety

flutter packages pub run build_runner build --delete-conflicting-outputs

dart migrate --skip-import-check

flutter run --no-sound-null-safety

https://flutter.cn/docs/development/tools/devtools/cli http://localhost:9100

sudo gem install -n /usr/local/bin cocoapods -v 1.9.3

./gradlew :app:dependencies

AS 全局匹配中文搜索 ^((?!(*|//)).)+[\u4e00-\u9fa5]

查看 framework 支持

1.进入到framework目录下

cd /Users/.../xFramework.framework

2.输入命令

lipo -info xFramework

-tag:gralloc4

如何查看dill文件

我们可以通过dart sdk中的vm package提供的dump_kernel.dart打印出dill的内部结构。

dart bin/dump_kernel.dart /Users/kylewong/Codes/AOP/aspectd/example/aop/build/app.dill /Users/kylewong/Codes/AOP/aspectd/example/aop/build/app.dill.txt
注意bin/dump_kernel.dart需要改成自己dart sdk中的具体路径。

///配置多渠道 flutter run --dart-define=CHANNEL=GSY --dart-define=LANGUAGE=Dart const CHANNEL = String.fromEnvironment('CHANNEL'); const LANGUAGE = String.fromEnvironment('LANGUAGE');

query getUserDetail($name:String!){ user(login: $name) { login, avatarUrl, company, location, bio, email, bioHTML, websiteUrl, viewerIsFollowing, createdAt, repositories(first: 100) { totalCount, nodes { stargazers { totalCount } } } followers { totalCount } following { totalCount } starredRepositories { totalCount } isViewer, #pinnedItems { #
#} organizations(first: 100) { nodes { login, avatarUrl, name } } } }

query GetStars($name: String!, $owner: String!, $after: String) { repository(name: $name, owner: $owner) { createdAt stargazers(first: 100, after: $after) { edges { node { id login name avatarUrl __typename } starredAt __typename } pageInfo { startCursor endCursor hasNextPage __typename↵
} totalCount __typename } __typename } }

xxd /Users/xxxxxxx/workspace/flutter-wrok/flutter_app_test/.dart_tool/flutter_build/bf7ed8e7e7b3e64f28f0af8a89a29ca9/app.dill

dart dump_kernel.dart /Users/xxxxxxx/workspace/flutter-wrok/flutter_app_test/.dart_tool/flutter_build/bf7ed8e7e7b3e64f28f0af8a89a29ca9/app.dill /Users/xxxxxxx/workspace/flutter-wrok/flutter_app_test/.dart_tool/flutter_build/bf7ed8e7e7b3e64f28f0af8a89a29ca9/app.dill.txt

flutter pub deps 打印依赖

m1 mac pod install fail , gem install ffi -- --enable-libffi-alloc

iconv -f gbk -t utf8 1.txt > 1_utf.txt

AS 检索匹配中文

^((?!(*|//)).)+[\u4e00-\u9fa5]

serve --ssl-key *.key --ssl-cert *.crt