Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keystore file Error:Execution failed for task ':app:validateSigningRelease'

I updated android studio and my keystore path must had changed in the process. I have tried the "Choose Existing " button but cannot find what I am looking for. I do not know where to find it. Would anyone please give me some instruction where to look?

I looked everywhere, I read a other posts with similar problems but debugging and it didn't help because I am attempting a new release. I have also searched for a software program to help me retrieve the path but I have been unsuccessful with that as well.

Below is the error message I get when I attempt to generate a signed apk. I did save the apk's from older versions that I had generated, if that helps at all.

The error is as follows after android studio attempts compiling:

Information:Gradle tasks [:app:assembleRelease] 
Error:Execution failed for task ':app:validateSigningRelease'.
> Keystore file C:\Users\aform\OneDrive\Documents\xxxxxxx\xxxx  not found for signing config 'externalOverride'.
Information:BUILD FAILED

I am also working on a new PC, but I got the same error of my previous PC as well. Thanks for any help.

like image 733
SAmendariz Avatar asked Feb 20 '17 20:02

SAmendariz


2 Answers

Check your keystore path and also example.jks file location all are correct. find the location where the keystore path was generated for the first time. check at C:\Users<user>.android

like image 146
Nazim ch Avatar answered Nov 16 '22 18:11

Nazim ch


If you're using React Native, Just copy the

C:\Users\UserName\.android\debug.keystore

and paste it in the path

ProjectPath\android\app\

This will solve your problem

like image 11
Idhem Avatar answered Nov 16 '22 19:11

Idhem