flutter_kinetra/README.md
2025-09-12 14:19:13 +08:00

71 lines
2.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# kinetra
A new Flutter project.
## Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
For help getting started with Flutter development, view the
[online documentation](https://docs.flutter.dev/), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
包名com.kinetra.adehok.app
# 修改app名称
https://pub.dev/packages/rename
- 1.activate
flutter pub global activate rename
- 2.Set AppName
flutter pub global run rename setAppName --targets ios,android --value "Kinetra"
- 3.Set BundleId
flutter pub global run rename setBundleId --targets ios,android --value "com.kinetra.adehok.app"
# 修改启动图标
https://pub.dev/packages/flutter_launcher_icons
- 1. Setup the config file
dart run flutter_launcher_icons:generate
- 2. Run the package
dart run flutter_launcher_icons
# 更改系统启动页
https://pub.dev/packages/flutter_native_splash
- 1. 新建/编辑 flutter_native_splash.yaml
- 2. Run the package
dart run flutter_native_splash:create
# 生成安卓打包证书
keytool -genkeypair -v -keystore kinetra_adehok_app.jks -keyalg RSA -keysize 2048 -validity 10000 -alias com.kinetra.adehok.app
口令:123456@nyxora
# 查看安卓证书指纹
keytool -list -v -keystore kinetra_adehok_app.jks
别名: com.kinetra.adehok.app
创建日期: 2025年8月20日
条目类型: PrivateKeyEntry
证书链长度: 1
证书[1]:
所有者: CN=zy, OU=qj, O=qj, L=cs, ST=hn, C=cn
发布者: CN=zy, OU=qj, O=qj, L=cs, ST=hn, C=cn
序列号: 45fb9110ec85ed35
生效时间: Wed Aug 20 13:44:03 CST 2025, 失效时间: Sun Jan 05 13:44:03 CST 2053
证书指纹:
SHA1: E8:3F:DB:87:73:40:A6:0E:BA:43:C5:C5:42:62:D2:95:FA:E0:DA:21
SHA256: C5:0A:88:AA:B8:1E:C2:0A:6C:64:0E:99:18:4E:97:86:A0:C8:3F:2C:98:EE:E9:97:6A:A2:CC:B0:03:70:EE:56
签名算法名称: SHA384withRSA
主体公共密钥算法: 2048 位 RSA 密钥
版本: 3
# 监听model修改自动生成
dart run build_runner watch --delete-conflicting-outputs
# 打包
正式包: flutter build apk --release
aab的包: flutter build appbundle
iOS: flutter build ipa