0

Recently I've been getting this problem.

As far as I know, there is no 26.X.X versions of these support libraries, what does Gradle wants from me?

Necroqubus
  • 331
  • 2
  • 18

3 Answers3

0

The problem lies in your Compile version in build.gradle file. It seems, your compile version is 26. Please change your compile version to 25 and sync gradle.

compileSdkVersion 25
buildToolsVersion "25.0.3"
Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
GAGAN BHATIA
  • 591
  • 5
  • 17
0

After reviewing a previous question, you may want to be sure that your compileSdkVersion matches across the board, if you want to build in 25 but you are in 23.

This support library should not use a different version Error in build.gradle

You can confirm versions by >> Create new project in Android studio >> Press Ctrl+Shift+Alt+S >> Proceed to 'Project' section >> You can see actual gradle version and android pluging version. Copy that to your project.

0

Please set your Compile Version to 25

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.3"

    defaultConfig {
        applicationId "com.example.user.xxxxx"
        minSdkVersion 15
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
    } 
Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
seon
  • 1,050
  • 2
  • 13
  • 27