error while trying to generate android apk

1

I am trying to generate apk, but is giving error, not to understanding

Error:Execution failed for task ':app:packageDebug'.
> Failed to read key from keystore

Evente log

19:33:33 Gradle build finished with 1 error(s) in 3 min 21 sec
19:33:44 Generate signed APK: Errors while building apk, see messages tool window for 
list of errors.
    
asked by anonymous 11.03.2015 / 23:37

1 answer

2
  

Failed to read key from key store

There are several possibilities for this error to arise. See the possible ones below:

  • When you enter the password on the menu to generate the APK , you may have entered the password incorrectly.
  • Before you can generate an APK , you will need to create a nome.jks file and save it to any folder. If this file does not exist, this error will be displayed.

Another way to know what is happening is to use the command line below in Gradle Command Line :

gradle signingReport - Windows

    
11.03.2015 / 23:54