在Android Studio中添加android-support-v13.jar

我一直在尝试在 Android Studio 1.0.2中添加android-support-v13

我已经按照步骤here进行了操作,但我仍然遇到了构建失败的问题.有没有人成功设法将android-support-v13.jar添加到Android Studio 1.0.2中?

下面是我的gradle文件中的代码.

dependencies {
compile 'com.android.support:appcompat-v7:21.0.3'
compile filetree(dir: 'libs',include: '*.jar')

编辑:我已经从SDK管理器安装了额外的支持库,我已将.jar放在我的libs文件夹中.

解决方法

根据 docs此时:

The Gradle build script dependency identifier for this library is as
follows:

com.android.support:support-v13:18.0.0

希望文档更新.

最新你应该使用:

compile 'com.android.support:support-v13:21.0.+'

相关文章

Android性能优化——之控件的优化 前面讲了图像的优化,接下...
前言 上一篇已经讲了如何实现textView中粗字体效果,里面主要...
最近项目重构,涉及到了数据库和文件下载,发现GreenDao这个...
WebView加载页面的两种方式 一、加载网络页面 加载网络页面,...
给APP全局设置字体主要分为两个方面来介绍 一、给原生界面设...
前言 最近UI大牛出了一版新的效果图,按照IOS的效果做的,页...