Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

add android-support-v13.jar in Android Studio

I have been trying to add android-support-v13 in Android Studio 1.0.2

I have followed the steps here but I still get a build fail. Has anyone successfully managed to add android-support-v13.jar into Android Studio 1.0.2?

Below is my code in my gradle file.

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

Edit: I have installed extra support library from SDK manager and I have placed the .jar in my libs folder.

like image 502
SeekingAlpha Avatar asked Feb 23 '15 10:02

SeekingAlpha


1 Answers

according to docs at this time:

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

com.android.support:support-v13:18.0.0

lets hope that the docs are updated.

for the latest you should use:

compile 'com.android.support:support-v13:21.0.+'
like image 161
SMR Avatar answered Oct 05 '22 12:10

SMR