Gradle sync failed: Cause: compileSdkVersion is not specified
问题 I am trying to test my ionic app in android studio. It is throwing the below error. Gradle sync failed: Cause: compileSdkVersion is not specified. Any solution for this ? What am I doing wrong. Here is my build.gradle file 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