Skip to main content

Command Palette

Search for a command to run...

React Native: How to fix "Execution failed for task ':app:validateSigningDebug'"

Updated
1 min read
C

React native Developer, Life long learner, Jesus Christ lover.

When building your android app with npx react-native run-android or yarn android and you encounter this build error:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:validateSigningDebug'.
> Keystore file '/Users/user/Documents/NobsApp/android/app/debug.keystore' not found for signing config 'debug'.

To fix it, navigate through terminal to

yourApp/android/app

and execute

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

Answer the questions that follow and type “y” for the last one that looks like [no]:.

Finally hit enter and rebuild your project.

If you enjoyed this article, please Like, share and drop your comments .

Follow me on twitter: @talk2dera

More from this blog

Chidera

22 posts

React Native Developer