我昨天更新了android支持库,现在我在构建项目时遇到了这个错误。我搜索了解决方案,没有发现任何有用的东西。
以下是我在build.gradle
文件中的内容
compileSdkVersion 23
buildToolsVersion '23.0.0'
minSdkVersion 15
targetSdkVersion 23
compile 'com.android.support:appcompat-v7:23.0.0'
compile 'com.android.support:design:23.0.0'
compile 'com.android.support:support-v4:23.0.0'
答案 0 :(得分:4)
将compilesdk和构建工具版本更改为25。
compileSdkVersion 25
buildToolsVersion "25.0.2"