1

Where can this (com.android.support:support-v4:jar:21.0.3) dependency be found in for download. Android's SDK manager provides a support library, but it is in the .aar format. No longer can I find a .jar of the support library.

com.android.support:support-v4:jar:21.0.3
The Tokenizer
  • 1,564
  • 3
  • 29
  • 46

1 Answers1

0

Where can this (com.android.support:support-v4:jar:21.0.3) dependency be found in for download.

On your hard drive, if you have the "Android Support Library" installed from the SDK Manager. It will be in $ANDROID_SDK/extras/android/support/v4/, where it has been for the past few years.

Android's SDK manager provides a support library, but it is in the .aar format.

Only as part of the "Android Support Repository", which is primarily for use by Android Studio and other Gradle for Android users.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • It looks like after 19.1.0 jars are no longer being provided, but only aars. – The Tokenizer Jun 05 '15 at 16:04
  • @TheTokenizer: I don't know how you are determining that. The Android SDK Manager shows it as 22.2, and the date on my file is May 28 of this year. – CommonsWare Jun 05 '15 at 16:05
  • @TheTokenizer the jar on my machine this was located in $ANDROID_SDK/extra/android/m2repository/com/android/support/support-v4/22.1.1/ That folder contains, the jars, aars, javadoc, pom, sha, and md5s. – EGHDK Jun 05 '15 at 16:08
  • @EGHDK: That's the Android Support Repository, and, like The Tokenizer is seeing, I only see AARs there, in terms of binaries. There are JAR files, but those contain source code and docs, and so really are just ZIP files. – CommonsWare Jun 05 '15 at 16:11
  • @CommonsWare are the .jar sources not the jars you're looking for Tokenizer? – EGHDK Jun 05 '15 at 16:13
  • @TheTokenizer you can also try just changing the aar on your filesystem to a zip, then unzip and you will find the .jar there. See: http://stackoverflow.com/a/21485222/1193321 – EGHDK Jun 05 '15 at 16:22