title: Android project build failed on project creation
body: <p>When I first build project in Android Studio 3.0.1 I always have build failed</p>
  <p><a href="https://i.stack.imgur.com/PZZr7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PZZr7.png" alt="error trace" /></a></p>
  <p>I know the solution for that particular error when I need to change &quot;compileSdkVersion&quot; to 28 and few others issues like add word &quot;Base&quot; before &quot;Theme&quot; to be UI elements visible.</p>
  <pre><code>&lt;style name=&quot;AppTheme&quot; parent=&quot;Theme.AppCompat.Light.DarkActionBar&quot;&gt;
  </code></pre>
  <p>My build.gradle file</p>
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 26
      defaultConfig {
          applicationId &quot;com.example.dodge.timerapp&quot;
          minSdkVersion 28
          targetSdkVersion 26
          versionCode 1
          versionName &quot;1.0&quot;
          testInstrumentationRunner &quot;android.support.test.runner.AndroidJUnitRunner&quot;
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'com.android.support:appcompat-v7:26.1.0'
      implementation 'com.android.support.constraint:constraint-layout:2.0.1'
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  }
  </code></pre>
  <p>But, that error start occuring week before, till that time everything was fine.</p>