android - Verify the alias in ant.properties is correct -


good morning

i'm trying build android application on release mode using visual studio tools apache cordova ctp3.1

after create myreleasekey.keystore using android tools http://developer.android.com/tools/publishing/app-signing.html

i set data in ant.properties

   key.store=c:\\users\\myreleasekey.keystore    key.alias=moayadmyro    key.store.password=password    key.alias.password=password 

i got error :

error : bld00213 : signing key moayadmyro not found. verify alias in   ant.properties correct.  cmd: command failed exit code 8 

thanks

i had same problem , no matter permutations of keystore alias tried, kept getting same error in visual studio apache cordova.

to resolve repeated generation process.

  1. generate new key store using keytool:

    c:\mychosendir> keytool -genkey -keyalg rsa -alias selfsigned -keystore mykeystorename.keystore -storepass mykeystorepass -validity 10000 -keysize 2048 
  2. enter information requested part of keygen:

    when requested enter password <selfsigned> reenter password above. hitting return suggests uses same did before , didn't work. [this thing did different]

  3. add keystore project:

    i placed keystore in same folder ant.properties file

  4. update ant properties file:

    key.store=mykeystorename.keystore key.alias=selfsigned key.store.password=mykeystorepass key.alias.password=mykeystorepass 

[nb: preserve line breaks can't them play correctly in markdown]

i know bit of turn off , turn on again answer worked me. best of luck.


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -