title: Android Studio: Can't install app on the Android device
body: <h1><strong>SOLUTION</strong></h1>
  
  <p>In <code>build.gradle</code> file, I set both <code>minSdkVersion</code> and <code>targetSdkVersion</code> to <code>19</code> (my Android device's API level).<br>
  Also, <code>compileSdkVersion</code>'s value must be less than your device's level API.</p>
  
  <h2>Issue was:</h2>
  
  <p>I cannot install my app I developed in Android Studio, in my Android device (LG G3).<br>
  When I try to install my app, <a href="http://i.imgur.com/t6rg5e3.png" rel="nofollow">this</a> window comes.</p>
  
  <p>When I click OK, the log outputs <a href="http://i.imgur.com/7rHJH0g.png" rel="nofollow">this</a>.</p>
  
  <p>This was my <code>build.gradle</code>:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 'android-L'
      buildToolsVersion "20.0.0"
  
      defaultConfig {
          applicationId "*AppID*"
          minSdkVersion 15
          targetSdkVersion 'L'
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              runProguard false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
  }
  </code></pre>
  
  <p><strong>What I've tried to do:</strong><br>
  1. Modify <code>build.gradle</code> to (Changed <code>compileSdkVersion</code>'s value to <code>15</code>):</p>
  
  <pre><code>apply plugin: 'com.android.application'
  android {
      compileSdkVersion 15
          buildToolsVersion "20.0.0"
  
          defaultConfig {
              applicationId "*AppID*"
              minSdkVersion 15
              targetSdkVersion 'L'
              versionCode 1
              versionName "1.0"
          }
      buildTypes {
              release {
                  runProguard false
                   proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
              }
          }
      }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
  }
  </code></pre>
  
  <p>2. Clean the project: i.imgur.com/lbdeXGe.png.</p>