70 lines
2.3 KiB
Markdown
70 lines
2.3 KiB
Markdown
# 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年9月22日
|
||
条目类型: PrivateKeyEntry
|
||
证书链长度: 1
|
||
证书[1]:
|
||
所有者: CN=qj, OU=qj, O=qj, L=cs, ST=hunan, C=cn
|
||
发布者: CN=qj, OU=qj, O=qj, L=cs, ST=hunan, C=cn
|
||
序列号: f98a0bc4e952426a
|
||
生效时间: Mon Sep 22 16:02:03 CST 2025, 失效时间: Fri Feb 07 16:02:03 CST 2053
|
||
证书指纹:
|
||
SHA1: 73:61:84:4F:97:9C:EC:B6:5C:25:64:E9:98:51:2C:2E:67:07:1F:AC
|
||
SHA256: 73:17:E7:6B:6A:7A:E8:32:72:AE:60:A2:18:78:55:2C:8D:49:66:E3:3C:E9:7E:D6:F3:88:6A:FD:F5:50:33:C1
|
||
签名算法名称: SHA384withRSA
|
||
主体公共密钥算法: 2048 位 RSA 密钥
|
||
|
||
# 监听model修改,自动生成
|
||
dart run build_runner watch --delete-conflicting-outputs
|
||
|
||
# 打包
|
||
正式包: flutter build apk --release
|
||
aab的包: flutter build appbundle
|
||
iOS: flutter build ipa |