Aggiorna README.md
This commit is contained in:
parent
7577466978
commit
848ad5220e
1 changed files with 32 additions and 0 deletions
32
README.md
32
README.md
|
@ -122,6 +122,38 @@ To run the app:
|
||||||
```
|
```
|
||||||
# ./flutterw run -t lib/main_play.dart --flavor play
|
# ./flutterw run -t lib/main_play.dart --flavor play
|
||||||
```
|
```
|
||||||
|
To build the app:
|
||||||
|
|
||||||
|
creare file con le tue credenziali file.keystore
|
||||||
|
|
||||||
|
dove YOUR_ALIAS_NAME è il tuo unico alias name
|
||||||
|
|
||||||
|
e YOUR_ALIAS_PWD è la password del tuo alias
|
||||||
|
```
|
||||||
|
#
|
||||||
|
keytool -genkey -v -keystore file.keystore -alias YOUR_ALIAS_NAME -storepass YOUR_ALIAS_PWD -keypass YOUR_ALIAS_PWD -keyalg RSA -validity 36500
|
||||||
|
```
|
||||||
|
in questo caso ho inserito
|
||||||
|
```
|
||||||
|
# cd android
|
||||||
|
# keytool -genkey -v -keystore file.keystore -alias FabioMich66 -storepass Master66 -keypass Master66 -keyalg RSA -validity 36500
|
||||||
|
```
|
||||||
|
compilare il file `<app dir>/android/key.properties`
|
||||||
|
```
|
||||||
|
# nano android/key.properties
|
||||||
|
```
|
||||||
|
questi i miei dati utilizzando il format key_template.properties
|
||||||
|
```
|
||||||
|
storeFile=/Users/fabio/flutter_apps/aves/android/file.keystore
|
||||||
|
storePassword=Master66
|
||||||
|
keyAlias=FabioMich66
|
||||||
|
keyPassword=Master66
|
||||||
|
googleApiKey=<GOOGLE_API_KEY>
|
||||||
|
```
|
||||||
|
infine compilare l'apk
|
||||||
|
```
|
||||||
|
# ./flutterw build apk -t lib/main_play.dart --flavor play
|
||||||
|
```
|
||||||
|
|
||||||
[Version badge]: https://img.shields.io/github/v/release/deckerst/aves?include_prereleases&sort=semver
|
[Version badge]: https://img.shields.io/github/v/release/deckerst/aves?include_prereleases&sort=semver
|
||||||
[Build badge]: https://img.shields.io/github/actions/workflow/status/deckerst/aves/quality-check.yml?branch=develop
|
[Build badge]: https://img.shields.io/github/actions/workflow/status/deckerst/aves/quality-check.yml?branch=develop
|
||||||
|
|
Loading…
Reference in a new issue