title: Android App Sign in Cordova
body: <p>I am trying to build signed app from cordova in my mac. Whenever I run <code>cordova build android --release</code> it release unsigned apk.</p>
  
  <p>I have created the account on Play store. Also I checked multiple links to get this working. </p>
  
  <p><a href="https://stackoverflow.com/questions/26449512/how-to-create-a-signed-apk-file-using-cordova-command-line-interface">How to create a signed APK file using Cordova command line interface?</a></p>
  
  <p><a href="http://cordova.apache.org/docs/en/6.x/guide/platforms/android/index.html#signing-an-app" rel="nofollow noreferrer">http://cordova.apache.org/docs/en/6.x/guide/platforms/android/index.html#signing-an-app</a></p>
  
  <p>I have few concern regarding key file.</p>
  
  <p>As per Cordova documentation we can use <code>build.json</code> or Gradle to build the signed apk.</p>
  
  <pre><code>{
      "android": {
          "debug": {
              "keystore": "../android.keystore",
              "storePassword": "android",
              "alias": "mykey1",
              "password" : "password",
              "keystoreType": ""
          },
          "release": {
              "keystore": "../android.keystore",
              "storePassword": "",
              "alias": "mykey2",
              "password" : "password",
              "keystoreType": ""
          }
      }
  }
  </code></pre>
  
  <p>Above code from Cordova site but I am not able to find build.json file.</p>
  
  <p>Here is the code from gradle.</p>
  
  <pre><code>You can also specify signing properties by including a .properties file and pointing to it with the cdvReleaseSigningPropertiesFile and cdvDebugSigningPropertiesFile Gradle properties (see Setting Gradle Properties). The file should look like this:
  
  storeFile=relative/path/to/keystore.p12
  storePassword=SECRET1
  storeType=pkcs12
  keyAlias=DebugSigningKey
  keyPassword=SECRET2
  storePassword and keyPassword are optional, and will be prompted for if omitted.
  </code></pre>
  
  <p>But I am not sure from where I will get the details like storePassword KeyPassword DebugSigningKey.</p>
  
  <p>I am using latest version of Cordova, 7.0.1.</p>