I ran the command gradlew signing report on my flutter app, at the android directory folder and got the error code listed below
Task :app:signingReport
Variant: debug
Config: debug
Store: C:UsersTobe.androiddebug.keystore
Alias: AndroidDebugKey
Error: Missing keystore
----------
Variant: release
Config: debug
Store: C:UsersTobe.androiddebug.keystore
Alias: AndroidDebugKey
Error: Missing keystore
----------
Variant: profile
Config: debug
Store: C:UsersTobe.androiddebug.keystore
Alias: AndroidDebugKey
Error: Missing keystore
----------
Variant: debugAndroidTest
Config: debug
Store: C:UsersTobe.androiddebug.keystore
Alias: AndroidDebugKey
Error: Missing keystore
I ran the command gradlew signing report on my flutter app, at the android directory folder and got the error code listed below
Task :app:signingReport
Variant: debug
Config: debug
Store: C:UsersTobe.androiddebug.keystore
Alias: AndroidDebugKey
Error: Missing keystore
----------
Variant: release
Config: debug
Store: C:UsersTobe.androiddebug.keystore
Alias: AndroidDebugKey
Error: Missing keystore
----------
Variant: profile
Config: debug
Store: C:UsersTobe.androiddebug.keystore
Alias: AndroidDebugKey
Error: Missing keystore
----------
Variant: debugAndroidTest
Config: debug
Store: C:UsersTobe.androiddebug.keystore
Alias: AndroidDebugKey
Error: Missing keystore
2
Answers
The error you received indicates that the debug keystore file is missing.
You can generate a new keystore and move to the correct location, after that you can rerun the signing report.
Double-check the "build.gradle" files in your project to verify that the signing configuration points to the correct keystore file and alias.
There is missing
debug.keystore
. You need to generate it.To generate keystores for signing Android apps at the command line, use:
A debug keystore which is used to sign an Android app during development needs a specific alias and password combination as dictated by Google. To create a debug keystore, use:
Debug,O=Android,C=US"
For more details regarding signing key and keystore read Doc for app-signing and generate-key