简体   繁体   中英

VS2015 - Cordova - Apk sign with KeyStore build.json

I am trying to sign my app-unsigned.apk with build.json . I created the keystore through console and my build.json has:

{
 "android": {
     "debug": {
         "keystore": "C:\\\\Users\\Matteo.GXITALIA\\Documents\\Visual Studio 2015\\Projects\\VSOnline\\CREAM\\Mobile\\release.keystore#",
         "storePassword": "***",
         "alias": "release_alias",
         "password" : "***",
         "keystoreType": ""
     }
 }

But, when I try to build return me a generic error:

cmd: Command failed with exit code 1 building one of the platforms 1

Try to edit build.json by the binary editor. Remove the periods at the beginning of the file. If it doesn't work , replace the absolute filepath with only the filename, and place the keystore in the project folder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM