title: Gradle signing app with packageRelease “specified for property 'signingConfig.storeFile' does not exist”
body: <p>I am trying to test an app with Build Variant in release mode in Android Studio with a project using Gradle.</p>
  
  <p>build.gradle:</p>
  
  <pre><code>(omitted dependencies and repositories)
  
  android {
      apply plugin: 'android'
      compileSdkVersion 19
      buildToolsVersion "19.0.0"
  
      defaultConfig {
          minSdkVersion 11
          targetSdkVersion 16
          versionCode 1
          versionName "1.0"
      }
  
      signingConfigs {
          release {
              storeFile file("release.jks")
              storePassword "password"
              keyAlias "MobileAndroid"
              keyPassword "password"
          }
      }
  
      buildTypes {
          release {
              runProguard false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
              signingConfig signingConfigs.release
          }
      }
  }
  </code></pre>
  
  <p>If the Build Variant is release Gradle returns an error</p>
  
  <blockquote>
    <p>A problem was found with the configuration of task
    ':app:packageRelease'.</p>
    
    <blockquote>
      <p>File '/Users/andre/workspace/MobileAndroid/app/release.jks'
      specified for property 'signingConfig.storeFile' does not exist.</p>
    </blockquote>
  </blockquote>
  
  <p>Removing "signingConfig.storeFile" returns an Android Studio message box error:</p>
  
  <blockquote>
    <p><strong>Application Installation Failed</strong></p>
    
    <p>Installation failed since the APK was either not signed, or signed
    incorrectly. If this is a Gradle-based project, then make sure the
    signing configuration is specified in the Gradle build script.</p>
  </blockquote>
  
  <p>release.jks exists and using the Android Studio wizard "Build > Generate Signed APK..." I can generate an app.apk signed.</p>
  
  <p>How do I solve this error in Gradle?</p>