Skip to content
This repository has been 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

Open
askpatrickw opened this issue Apr 2, 2020 · 0 comments

Comments

@askpatrickw
Copy link

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant