Skip to content
This repository was archived by the owner on Oct 25, 2022. It is now read-only.

npx react-native run-android failed "Execution failed for task ':app:validateSigningDebug'." #9

@askpatrickw

Description

@askpatrickw

This is probably an FAQ or doc update, but if you hit this issue, you can work around it by copying ANY debug.store to
/...yourpath.../aws-amplify-auth-starters/android/app/debug.keystore

For example:
cp /...yourpath.../aws-amplify-auth-starters/node_modules/react-native/template/android/app/debug.keystore /...yourpath.../aws-amplify-auth-starters/android/app/

And then the build worked.

Log:

Task :app:validateSigningDebug FAILED

Deprecated Gradle features were used in this build, making it incompatible 
with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
150 actionable tasks: 3 executed, 147 up-to-date

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:validateSigningDebug'.
> Keystore file '/...yourpath.../aws-amplify-auth-starters/android/app/debug.keystore' 
not found for signing config 'debug'.
* Try:
Run with --stacktrace option to get the stack trace. 
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 12s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions