From f592a58744018bea778a4938b225eb65fc5a6216 Mon Sep 17 00:00:00 2001
From: Rich Slogar
Caution: Using dynamic dependencies, especially for higher version +numbers, can cause unexpected version updates and regression incompatibilities.
+The Gradle build script dependency identifier for this library is as follows:
com.android.support:support-v4:21.0.+-
This dependency notation specifies the release version 21.0.0 or higher.
+This dependency notation specifies the latest release version with the 21.0 prefix.
This dependency notation specifies the release version 1.0.0 or higher.
+This dependency notation specifies the latest release version with the 1.0 prefix.
This dependency notation specifies the release version 21.0.0 or higher.
+This dependency notation specifies the latest release version with the 21.0 prefix.
+This dependency notation specifies the release version 21.0.0 or higher.
+This dependency notation specifies the latest release version with the 21.0 prefix.
+This dependency notation specifies the release version 21.0.0 or higher.
+This dependency notation specifies the latest release version with the 21.0 prefix.
This dependency notation specifies the release version 21.0.0 or higher.
+This dependency notation specifies the latest release version with the 21.0 prefix.
+ +This dependency notation specifies the release version 21.0.0 or higher.
+This dependency notation specifies the latest release version with the 21.0 prefix.
+ +This dependency notation specifies the release version 18.0.0 or higher.
+This dependency notation specifies the latest release version with the 18.0 prefix.
+ +This dependency notation specifies the release version 21.0.0 or higher.
+This dependency notation specifies the latest release version with the 21.0 prefix.
+ + diff --git a/docs/html/tools/support-library/setup.jd b/docs/html/tools/support-library/setup.jd index 2325a1387235..845cf76563fd 100644 --- a/docs/html/tools/support-library/setup.jd +++ b/docs/html/tools/support-library/setup.jd @@ -293,8 +293,30 @@ dependencies { android:targetSdkVersion="17" /> -This change tells Google Play that your application can be installed on devices with Android - 2.1 (API level 7) and higher.
+The manifest setting tells Google Play that your application can be installed on devices with Android + 2.1 (API level 7) and higher.
+ +If you are using Gradle build files, the minSdkVersion setting in the build file
+ overrides the manifest settings.
+apply plugin: 'android'
+
+android {
+ ...
+
+ defaultConfig {
+ minSdkVersion 8
+ ...
+ }
+ ...
+}
+
+
+In this case, the build file setting tells Google Play that the default build variant of your + application can be installed on devices with Android 2.2 (API level 8) and higher. For more + information about build variants, see + Build System Overview.
Note: If you are including the v4 support and v7 appcompat libraries in your -- cgit v1.2.3-59-g8ed1b