title: An Error for SigningConfig container type org.gradle.api.internal.FactoryNamedDomainObjectContainer
body: <p>when trying to build my mobile game I got this message:</p>
  
  <blockquote>
    <p>Could not get unknown property 'release' for SigningConfig container of type org.gradle.api.internal.FactoryNamedDomainObjectContainer.</p>
  </blockquote>
  
  <p>However have tried some solutions but they seems to not work or I can't find/missing? The that some seems to have: signingConfigs {
          myconfig {
              keyAlias 'xxx'
              keyPassword 'xxx'
              storeFile file('xxx')
              storePassword 'xxx'
          }
      }</p>
  
  <p>Here is part of the CordovaLib build.gradle:</p>
  
  <pre><code>android {
  buildTypes {
      release {
          signingConfig signingConfigs.release
          }
          }
      addSigningProps(cdvReleaseSigningPropertiesFile, signingConfigs.release)
  }
  if (cdvDebugSigningPropertiesFile) {
  addSigningProps(cdvDebugSigningPropertiesFile, signingConfigs.debug)
  
  
  compileSdkVersion cdvCompileSdkVersion
  buildToolsVersion cdvBuildToolsVersion
  publishNonDefault true
  
  compileOptions {
      sourceCompatibility JavaVersion.VERSION_1_8
      targetCompatibility JavaVersion.VERSION_1_8
  }
  
  sourceSets {
      main {
          manifest.srcFile 'AndroidManifest.xml'
          java.srcDirs = ['src']
          resources.srcDirs = ['src']
          aidl.srcDirs = ['src']
          renderscript.srcDirs = ['src']
          res.srcDirs = ['res']
          assets.srcDirs = ['assets']
      }
      }
  </code></pre>
  
  <p>I appreciate help to solv this error.</p>