I'm starting to work with flutter and I would like to know how to sign apps to publish in stores. I work with MacOS and IntelliJ IDEA.
Use the following instructions to sign your app. On Android, there are two signing keys: deployment and upload. The end-users download the . apk signed with the 'deployment key'.
In the menu bar, click Build > Generate Signed Bundle/APK. In the Generate Signed Bundle or APK dialog, select Android App Bundle or APK and click Next. Below the field for Key store path, click Create new. On the New Key Store window, provide the following information for your keystore and key, as shown in figure 2.
I have already solved it. The technical issue can be solved by writing the command inside the project´s directory:
$ flutter build apk --release --keystore /Users/user/Desktop/Sign/my-key-release.keystore --keystore-password=p@$$w0rd --keystore-key-alias=name-alias
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With