Android appcompat v7:23 [英] Android appcompat v7:23
问题描述
今天,Google发布了SDK 6 API 23 +.
Today, Google released SDK 6 API 23+.
我尝试使用API 23创建一个项目,但是遇到以下问题:
I tried to create a project with the API 23, but I'm having the following problem:
无法解决:com.android.support:appcompat-v7:23.0
Failed to resolve: com.android.support:appcompat-v7:23.0
这是我的gradle文件:
Here's my gradle file:
android {
compileSdkVersion 23
buildToolsVersion "23.0.0"
defaultConfig {
applicationId "my.package"
minSdkVersion 17
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
wearApp project(':wear')
compile 'com.android.support:appcompat-v7:23.0'
compile 'com.google.android.gms:play-services:7.8.0'
}
在SDK管理器中,没有列出要更新的版本23:
In the SDK manager, the version 23 isn't listed to update:
我该如何解决?
推荐答案
从Android SDK Manager的修订版栏中可以看出,支持库的最新发布版本是22.2.1.您必须等到23.0.0发布.
As seen in the revision column of the Android SDK Manager, the latest published version of the Support Library is 22.2.1. You'll have to wait until 23.0.0 is published.
编辑:API 23已发布.所以你可以使用23.0.0
API 23 is already published. So u can use 23.0.0
这篇关于Android appcompat v7:23的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!