skip to Main Content

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


  1. 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.

    Login or Signup to reply.
  2. There is missing debug.keystore. You need to generate it.

    To generate keystores for signing Android apps at the command line, use:

    $ keytool -genkey -v -keystore my-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

    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:

    $ keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000

    • Keystore name: "debug.keystore"
    • Keystore password: "android"
    • Key alias: "androiddebugkey"
    • Key password: "android"
    • CN: "CN=Android
      Debug,O=Android,C=US"

    For more details regarding signing key and keystore read Doc for app-signing and generate-key

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search