Add android-support-v13.jar to Android Studio

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

I followed the steps here , but I'm still getting build failures. Did anyone manage to add Android-support-v13.jar in 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 installed an additional support library from the SDK manager, and I put the .jar in my libs folder.

+6
source share
2 answers

according to the docs at the moment:

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

com.android.support:support-v13:18.0.0

gives hope that the documents will be updated.

for last use:

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

same problem android studio 1.0.2 i solve below

 compile 'com.android.support:appcompat-v7:21.0.1' compile 'com.android.support:appcompat-v7:+' 
+2
source

Source: https://habr.com/ru/post/982881/


All Articles