android – 如何修复“Support-v13:19.1.0依赖于库而不是库本身”?

栏目: Android · 发布时间: 7年前

内容简介:自从从0.6.2升级以来,我刚刚在Android Studio 0.8.1中推出了一个项目.抛出的错误是“错误:模块版本com.android.support:support-v13:19.1.0依赖于库,但不是库本身”.有人有什么想法为什么会这样吗?我已经安装了一些新的API20播放Android L的东西,但是这个项目的buildTools仍然设置为19.1.0.

自从从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"

任何人都可以解释这一点,还是指向我一个修复?我被困了


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Mobilizing Web Sites

Mobilizing Web Sites

Layon, Kristofer / 2011-12 / 266.00元

Everyone has been talking about the mobile web in recent years, and more of us are browsing the web on smartphones and similar devices than ever before. But most of what we are viewing has not yet bee......一起来看看 《Mobilizing Web Sites》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具