In my case, clearing caché didn’t work.
On SDK Manager, be sure to check the box on “show package descriptions”; then you should also select the “Google APIs” for the version you are willing to install.
Install it and then you should be ok
More Related Contents:
- How to configure gradle to work “offline” (using cached dependencies)
- How to define different dependencies for different product flavors
- How to change the Android app package name when assembling with Gradle?
- Run task before compilation using Android Gradle plugin
- How to set different applicationId for each flavor combination using flavorDimensions?
- How to use the Renderscript Support Library with Gradle
- Disable Manifest Merger in Android Gradle Build
- Automatic versioning of Android build using git describe with Gradle
- Using Build Flavors – Structuring source folders and build.gradle correctly
- Android Studio Gradle Configuration with name ‘default’ not found
- gradle – library duplicates in dependencies
- Could not GET ‘play-services-location/maven-metadata.xml’. Received status code 502 from server: Bad Gateway
- gradle build fails on lint task
- How to autoincrement versionCode in Android Gradle
- Adding local .aar files to my gradle build
- Unable to import Eclipse project to Android Studio
- Android Studio Run/Debug configuration error: Module not specified
- add ‘tools:replace=”Android:value”‘ to element at AndroidManifest
- Add GitHub library as dependency to Android Studio project
- Stuck with Gradle Build Running
- How to apply plugin to only one flavor in gradle?
- Android XML: RuntimeException: Failed to resolve attribute at index 6
- How to provide different Android app icons for different gradle buildTypes?
- Signing product flavors with gradle
- How to set up gradle and android studio to do release build?
- Confused about testCompile and androidTestCompile in Android Gradle
- Gradle not including dependencies in published pom.xml
- Build variants in Gradle for a Library Project in Android
- Importing gradle project to eclipse
- Failed to resolve: com.android.support.design:25.4.0