Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The Gradle sync failed because the compileSdkVersion was not mentioned in the project's build.gradle file. This is necessary because the compileSdkVersion specifies the maximum version of the Android SDK that the app can use, and it needs to be specified in order for Gradle to know which SDK version to use when building the app. Without this information, Gradle is unable to resolve dependencies and compile the code.