Support library version

com.android.support:support-v4 28
version 28 is the latest version of the legacy support library
com android support appcompat-v7:29
androidx library
android-support-v7-appcompat.jar download for android studio
com android support design 26
android support repository download
cardview dependency

I try to inject support libraries into my Android Studio project.

If I try anything lower than 20 it says: library should not use a lower version then targetSdk version.

If I use compile 'com.android.support:support-v4:20' I get: Failed to find: com.android.support:support-v4:20

If I use compile 'com.android.support:support-v7:20.0.+' I get: Avoid using + in version numbers, can lead to unpredictable and unrepeatable builds.

So the simple question is: where can I find up-to-date, ready to use, version numbers that Do work?


If I try anything lower than 20 it says: library should not use a lower version then targetSdk version.

That is because you set your targetSdkVersion to something higher than 19. If you did so intentionally, fine. If you did not do so intentionally, consider dropping it back to 19 for now, and use compile 'com.android.support:support-v4:19.1.0' (if you are using the backport of fragments) or compile 'com.android.support:support-v13:19.1.0' (if you are not using the backport of fragments).

If I use compile 'com.android.support:support-v4:20' I get: Failed to find: com.android.support:support-v4:20

That is because the Android Support package uses X.Y.Z semantic versioning, as do most artifacts in repositories. 20 does not match the X.Y.Z pattern.

If I use compile 'com.android.support:support-v7:20.0.+' I get: Avoid using + in version numbers, can lead to unpredictable and unrepeatable builds.

That is merely a warning. If you are using version control for your project files, and you feel that it is important to be able to check out some earlier version of your code and be able to reproduce that build, then using the + notation is not a good idea. OTOH, if being able to reproduce historical builds is not essential, using the + wildcard, as you are doing, ensures that you get updates automatically. Having the + in the third position (Z in X.Y.Z) means that you will automatically get patchlevel updates.

where can I find up-to-date, ready to use, version numbers that Do work?

On your hard drive, in $ANDROID_SDK/opt/extras/android/m2repository/com/android/support/$LIBRARY/, where $ANDROID_SDK is wherever you installed the Android SDK and $LIBRARY is whichever Android Support package library you are interested in (e.g., support-v13).

Support Library, If I try anything lower than 20 it says: library should not use a lower version then targetSdk version. That is because you set your  This page provides details about the most recent Support Library package releases. For earlier releases, see the Support Library Revisions Archive. Revision 28.0.0 Production (September 21, 2018) This is the stable release of Support Library 28.0.0 and is suitable for use in production.


Support Library Packages, components and patterns for app developers to build upon, such as navigation drawers, floating action buttons (FAB), snackbars, and tabs. The release version of the Support Library, such as 24.2.0 or 25.0.1, is different from the minimum API level supported by any library in that release.The release version number indicates which version of the platform API it was built against, and therefore, what the most recent APIs may be included in this version of the libraries.


you can get the version list of support-v4 at here: \sdk\extras\android\m2repository\com\android\support\support-v4

Support Library Setup, Versions. Each package in the support library has a version number in three parts (x.y.z) that corresponds to an Android API level, and to a particular  I try to inject support libraries into my Android Studio project. If I try anything lower than 20 it says: library should not use a lower version then targetSdk version. If I use compile 'com.an


You can see the versions at Google's Maven Repository. Just find the item entry com.android.support and click the plus to expand it. Scroll down and click on any artifact such as support-v13 and you'll see folders named after the version number.

Support library version, When you develop an app on a latest version of android like 5.x and you also want it to run on those devices which are running older versions of android like 3.2  The Android Support Library package is a set of code libraries that provide backward-compatible versions of Android framework APIs as well as features that are only available through the library APIs. Each Support Library is backward-compatible to a specific Android API level. Including the Support Libraries in your Android project is considered a best practice for application developers, depending on the range of platform versions your app is targeting and the APIs that it uses. Support


This will work:

    apply plugin: 'com.android.application'

android {
    compileSdkVersion 20
    buildToolsVersion "20.0.0"

    defaultConfig {
        applicationId "com.example.myApp"
        minSdkVersion 19
        targetSdkVersion 20
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }

    buildTypes {
        release {
            runProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }
}

dependencies {
    compile 'com.android.support:support-v4:20.0.0')
}

com.android.support » support-v4 » 27.0.2, For example, the support library v7 works as of Android devices with version API 7. Higher versions of the support library require also the lower  Support Library Setup Note: With the release of Android 9.0 (API level 28) there is a new version of the support library called AndroidX which is part of Jetpack. The AndroidX library contains the existing support library and also includes the latest Jetpack components. You can continue to use the support library.


Android - Support Library, Compile your app with Android 9. In order to use Material Components for Android, and the latest versions of the Support Libraries, you will have to update your  Download the desired Xamarin.Android.Support NuGet package (for example by installing it with the NuGet package manager). Use ildasm to check which version of android_m2repository.zip the NuGet package needs: Download android_m2repository.zip from Google using the URL returned from ildasm. Alternately, you can check which version of the Android


Difference between android-support-v7-appcompat and android , Android Studio: This support library should not use a different version (25) than the compileSdkVersion(26) -3 i want add compile 'com.android.support:design:23.4.0' in dependencies but this compile is error


3.3: The Android Support Library · GitBook, How to check the latest version of android support library in your SDK? Andorid Support Repository is local maven repository which contains all the support libraries as AAR archives from Android. m2repository installed from dl.google.com. As the result, you will find the latest version of support library in your local SDK.