Android的Studio生成错误升级Android的工作室后,错误、工作室、Android、Studio

由网友(海绵离不开宝宝)分享简介:升级到Android的工作室后, 1.3.1 昨日,建设项目时,遇到了这个错误,我不能创建一个新项目。添加错误及以下build.gradle文件:After upgrading to Android Studio 1.3.1 yesterday, Getting this error when building pr...

升级到Android的工作室后, 1.3.1 昨日,建设项目时,遇到了这个错误,我不能创建一个新项目。添加错误及以下build.gradle文件:

After upgrading to Android Studio 1.3.1 yesterday, Getting this error when building projects, I cannot create a new project. Adding error and build.gradle file below :

Alredy试图改变 compileSdkVersion buildToolVersion 21

Alredy tried changing compileSdkVersion and buildToolVersion to 21.

推荐答案

支持库的每一个重大修改,如 23.0.0 AppCompat您使用,编译对相同数量的API级别:即23 API按照这个G +员额从AppCompat开发商。因此,要使用 23.0.0 ,你必须更新你的 compileSdkVersion 23

Every major revision of the Support Library, such as the 23.0.0 AppCompat you are using, compiles against the API level of the same number: i.e., API 23 as per this G+ post from the AppCompat developer. Therefore to use 23.0.0, you must update your compileSdkVersion to 23.

请注意,这是从的针对的API 23(可单独完成,是需要使用运行权限模型)。

Note this is completely different from targeting API 23 (which can be done separately and is what is required to use the runtime permissions model).

阅读全文

相关推荐

最新文章