title: Setting gradle to Android O (API 26)
body: <p>Android studio has automatically update the following components to API 26:</p>
  
  <ul>
  <li>ROM - SDK to API 26</li>
  <li>Android SDK Build-Tools 26</li>
  <li>Android Emulator 26.0.3</li>
  <li>Android SDK Platforms-Tools 26.0.0</li>
  <li>Android SDK Tools 26.0.2</li>
  </ul>
  
  <p>My gradle 2.3.3:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 26
      buildToolsVersion '26.0.0'
      defaultConfig {
          applicationId "com.mycompany.myapplication"
          minSdkVersion 15
          targetSdkVersion 26
          versionCode 4
          versionName "0.0.4"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
          exclude group: 'com.android.support', module: 'support-annotations'
      })
      /////////If I change it to 26.0.0 it gives errors.///////////
      compile 'com.android.support:appcompat-v7:25.3.1'
      compile 'com.android.support:design:25.3.1'
      compile 'com.android.support:support-vector-drawable:25.3.1'
      compile 'com.android.support:support-v4:25.3.1'
      /////////////////////////////////////////////////////////////
      testCompile 'junit:junit:4.12'
  }
  </code></pre>
  
  <p>I have two questions (see commented line in Gradle):</p>
  
  <p>How can I know the latest version of these libraries (I simply throw random numbers and try to up them until I found the latest version).</p>
  
  <p>In the excluded group there is 'com.android.support', if I delete that do I need to specify those libraries? I see many people including 'com.android.support' libraries this way so there is a reason I guess to do so.</p>
  
  <p>I searched in developer.android.com and the latest version is 24.2.0 (so really old I have been using 25.3.1).</p>