简体   繁体   English

看不到Theme.Material或Android L的东西

[英]cannot see Theme.Material or Android L's things

when i create values-v21 for android L' styles but when i cntrl+space for search there isn't any android L library.I checked android sdk manager,everything updated. 当我为android L'样式创建values-v21时,但是当我搜索cntrl + space时,没有任何android L库。我检查了android sdk管理器,所有更新。 and i'm using these library in build.gradle 我在build.gradle中使用这些库

apply plugin: 'com.android.application'

android {
compileSdkVersion 20
buildToolsVersion "20.0.0"

defaultConfig {
    applicationId "......."
    minSdkVersion 13
    targetSdkVersion 20
    versionCode 3
    versionName "1.1"
}
buildTypes {
    release {
        runProguard false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile files('libs/commons-net-3.3-sources.jar')
compile files('libs/commons-net-3.3.jar')
compile files('libs/commons-net-examples-3.3.jar')
compile 'com.android.support:appcompat-v7:20.0.0'
compile 'com.android.support:support-v4:20.0.0'
compile 'com.google.android.gms:play-services:3.1.+'
compile 'com.google.android.gms:play-services:5.2.08'
compile 'com.github.mrengineer13:snackbar:0.4.0'
}
android {
packagingOptions {
    exclude 'META-INF/LICENSE.txt'
    exclude 'META-INF/NOTICE.txt'
}
 }

you do not reference android L anywhere 你没有在任何地方引用android L

your gradle should have these in it 你的gradle应该有这些

compileSdkVersion 'android-L'

minSdkVersion 'L'
targetSdkVersion 'L'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM