<commit_before>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

# 如何查看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<commit_msg>update doc<commit_after>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



查看 framework 支持

1.进入到framework目录下

cd /Users/.../xFramework.framework

2.输入命令

lipo -info  xFramework





# 如何查看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
{'fraction_non_alphanumeric': 0.12507444907683143, 'fraction_numerical': 0.011911852293031567, 'mean_word_length': 4.25, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4835127', 'n_tokens_mistral': 747, 'n_tokens_neox': 717, 'n_words': 106}