title: Gradle sync failed: Cause: compileSdkVersion is not specified
body: <p>I am trying to test my ionic app in android studio. It is throwing the below error.</p>
  
  <pre><code>Gradle sync failed: Cause: compileSdkVersion is not specified.
  </code></pre>
  
  <p>Any solution for this ? What am I doing wrong.</p>
  
  <p>Here is my build.gradle file</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  buildscript {
      repositories {
          mavenCentral()
          jcenter()
          maven {
              url "https://maven.google.com"
          }
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.0.0'
      }
  }
  
  // Allow plugins to declare Maven dependencies via build-extras.gradle.
  
  allprojects {
      repositories {
          mavenCentral();
          jcenter()
      }
  }
  
  task wrapper(type: Wrapper) {
      gradleVersion = '4.1.0'
  }
  
  dependencies {
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:+'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:+'
      implementation 'com.android.support:appcompat-v7:27.+'
  }
  </code></pre>