自从从0.6.2升级以来,我刚刚在Android Studio 0.8.1中推出了一个项目.
引发的错误是"错误:模块版本com.android.support:support-v13:19.1.0依赖于库,但不是库本身".
有谁知道为什么会这样?我已经安装了一些新的API20用于Android L,但是这个项目的buildTools仍然设置为19.1.0.
这是我的build.gradle的依赖项部分:
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:19.1.+' compile 'com.android.support:support-v13:19.1.+' compile 'com.jakewharton:butterknife:5.1.0' compile 'de.greenrobot:eventbus:2.2.1' compile 'com.google.code.gson:gson:2.2.4' compile 'com.mcxiaoke.viewpagerindicator:library:2.4.1' compile 'uk.co.chrisjenx:calligraphy:0.7.+' compile 'com.crashlytics.android:crashlytics:1.+' compile 'com.google.android.gms:play-services:4.4.+' }
SDK/Buildtools设置如下:
compileSdkVersion 19 buildToolsVersion "19.1.0"
任何人都可以解释这个或指向我修复?我很难过.