内容简介:自从从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"
任何人都可以解释这一点,还是指向我一个修复?我被困了
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- Apiggs 1.4 发布,减少依赖包,修复一些 bug
- MRoot 2.4 发布,细节优化、Bug 修复和依赖升级版本
- MRoot 2.5 发布,细节优化、Bug修复和依赖升级版本
- Apache Fineract 1.3.0 修复了一个上游依赖安全漏洞
- jQuery 3.3.1 发布,修复 3.3.0 版本中的依赖关系
- 浅析依赖倒转、控制反转、IoC 容器、依赖注入。
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
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》 这本书的介绍吧!