title: Android Studio Release build gives me: Unfortunately, “App Name” has stopped
body: <p>I'm working on Android Studio 1.1.0.
  The build variant <code>debug</code> works perfectly but when I tried to run the <code>release</code> build variant the app starts but gives me an "Unfortunately, “App Name” has stopped."</p>
  
  <p>I already signed my apps in the past, maybe I'm missing a simple step which I completely forgot, what have I missed?</p>
  
  <p>This is my <code>build.gradle</code>:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 21
      buildToolsVersion "21.1.2"
      defaultConfig {
          applicationId "com.madx.quiz.apf"
          minSdkVersion 14
          targetSdkVersion 21
          versionCode 1
          versionName "1.0"
      }
  
      signingConfigs {
          release {
              storeFile file('/Users/madx/Documents/Workspaces/Android/APF/app/keystore.keystore')
              storePassword ‘my_store_password’
              keyAlias ‘my_key_alias’
              keyPassword ‘my_key_password’
          }
          debug {}
      }
  
      buildTypes {
          release {
              signingConfig signingConfigs.release
              minifyEnabled true
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
              zipAlignEnabled true
          }
          debug {
          }
      }
  }
  
  repositories{
  // some repositories
  }
  
  dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      compile 'com.android.support:appcompat-v7:21.0.3'
      compile 'com.android.support:support-v13:21.0.0'
      compile 'com.google.code.gson:gson:2.3.1'
  }
  </code></pre>
  
  <p>Event log gives me:</p>
  
  <pre><code>19:52:49 Gradle build finished in 3 sec
  19:52:50 Session 'app': running
  </code></pre>
  
  <p>Logcat:</p>
  
  <pre><code>03-02 19:33:11.851  25913-25913/com.madx.quiz.apf I/art﹕ Late-enabling -Xcheck:jni
  03-02 19:33:12.840  25913-25946/com.madx.quiz.apf D/OpenGLRenderer﹕ Render dirty regions requested: true
  03-02 19:33:12.849  25913-25913/com.madx.quiz.apf D/Atlas﹕ Validating map...
  03-02 19:33:12.922  25913-25946/com.madx.quiz.apf I/Adreno-EGL﹕ &lt;qeglDrvAPI_eglInitialize:410&gt;: QUALCOMM Build: 10/24/14, 167c270, I68fa98814b
  03-02 19:33:12.924  25913-25946/com.madx.quiz.apf I/OpenGLRenderer﹕ Initialized EGL, version 1.4
  03-02 19:33:12.936  25913-25946/com.madx.quiz.apf D/OpenGLRenderer﹕ Enabling debug mode 0
  </code></pre>
  
  <p>Gradle console:</p>
  
  <pre><code>Executing tasks: [:app:generateReleaseSources]
  
  Configuration on demand is an incubating feature.
  :app:preBuild
  :app:preReleaseBuild
  :app:checkReleaseManifest
  :app:preDebugBuild
  :app:prepareComAfollestadMaterialDialogs0612Library UP-TO-DATE
  :app:prepareComAndroidSupportAppcompatV72103Library UP-TO-DATE
  :app:prepareComAndroidSupportSupportV132100Library UP-TO-DATE
  :app:prepareComAndroidSupportSupportV42103Library UP-TO-DATE
  :app:prepareComGithubDanielemaddalunoAndroidupdatecheckerLibrary102Library UP-TO-DATE
  :app:prepareReleaseDependencies
  :app:compileReleaseAidl UP-TO-DATE
  :app:compileReleaseRenderscript UP-TO-DATE
  :app:generateReleaseBuildConfig UP-TO-DATE
  :app:generateReleaseAssets UP-TO-DATE
  :app:mergeReleaseAssets UP-TO-DATE
  :app:generateReleaseResValues UP-TO-DATE
  :app:generateReleaseResources UP-TO-DATE
  :app:mergeReleaseResources
  :app:processReleaseManifest UP-TO-DATE
  :app:processReleaseResources
  :app:generateReleaseSources
  
  BUILD SUCCESSFUL
  
  Total time: 2.4 secs
  </code></pre>