I am getting the below error in the design editor of layout
I have selected the API version 23 on design editor.
I have installed SDK Tools with version 23
I mentioned buildToolsVersion as "23.0.1" in build.gradle
Still I am not sure why Android Studio is asking to update the Android Studio version.
When i check the Updates in Help menu. It was displayed as below.
When i change the API version from 23 to 21 in Design Editor, I am not getting any Error. But I dont understand why API version 23 is not working in the design Editor even if i have that version installed in SDK Manager.
build.gradle :
apply plugin: 'com.android.application'
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.1.0' classpath 'com.google.gms:google-services:2.1.2' } }
android { compileSdkVersion 23 buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.apso"
minSdkVersion 18
targetSdkVersion 23
versionCode 2
versionName "2.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
}
}
repositories {
mavenCentral()
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.android.support:cardview-v7:23.1.1'
compile 'com.android.support:support-v4:23.1.1'
compile 'com.squareup.okhttp:okhttp:2.7.0'
compile 'com.jakewharton:butterknife:7.0.1'
provided 'com.android.support:support-annotations:23.1.1'
compile 'com.github.bumptech.glide:glide:3.6.1'
}
apply plugin: 'com.google.gms.google-services'