title: Android Studio: run/debug release version of app
body: <p>I have added gradle build to Android app, and can launch from Android Studio.
  <code>gradlew build</code> produces debug and released (signed, minified with proguard) versions. </p>
  
  <pre><code>buildTypes {
      debug {
          zipAlignEnabled true
          versionNameSuffix "-" + buildDateTime()
      }
      release {
          minifyEnabled true
          // Eclipse project.properties # proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
          zipAlignEnabled true
          signingConfig signingConfigs.release
          versionNameSuffix "-" + buildDateTime()
      }
  </code></pre>
  
  <p>But when I <code>adb install</code> on device the release version it crashes on start.</p>
  
  <p><strong>How can I run/debug release version of app from Android Studio to find exact place of problem?</strong></p>
  
  <p>Or can I debug manually released signed apk in Eclipse? </p>