简体   繁体   中英

Visual studio cordova sign app

I'm tring to make an app using visual studio 2015 and Cordova. When I build the release everything works, but the distribution doesn't, and appear:

The Android packages must be signed when you are debugging with configuration type version . To configure the signing Android , follow the instructions in http://go.microsoft.com/fwlink/?LinkID=613579

I cannot understand where is the error,

Thanks

UPDATE

now my build.json is:

{
    "android": {
        "release": {
            "keystore": "example.keystore",
            "storePassword": "example",
            "alias": "example",
            "password" : "example",
            "keystoreType": ""
         }
    }
 }

but when I try to build the release I have this

A problem occurred evaluating root project 'android'.
Keystore file does not exist: C:\Users\Simone\Desktop\example\example\platforms\android\..\..\example.keystore

the keystore is in the folder platform\\android but i don't understand why there are \\...\\...\\ I never add this

Looks like you need to sign your application. Here are a couple links to help get you started:

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