From ef11c2e0b1c8dacc801565d8e27f897a02be4713 Mon Sep 17 00:00:00 2001
From: "smain@google.com"
- Note: The N Preview (API level 24) reference documentation - is now available online at Beginning with the Preview 4 release, the API reference for the +N platform (API level 24) is now available online at developer.android.com/reference/.
-- Detailed information about the Android N APIs is available in the N Preview - reference documentation, which you can download from the following table. - This package contains an abridged, offline version of the Android developer - web site, and includes an updated API reference for the Android N APIs and an - API difference report. -
+If you'd like an offline copy of the API reference, you can download it +from the following table. The download also includes an incremental diff report +for API changes between the Preview 3 and Preview 4 release, which is not +available online.
| - n-preview-3-docs.zip | + n-preview-4-docs.zip
- MD5: 19bcfd057a1f9dd01ffbb3d8ff7b8d81 - SHA-1: 9224bd4445cd7f653c4c294d362ccb195a2101e7 + MD5: f853e3ba0707083336dfa780b8fed9a7 + SHA-1: 36fcbc497cc2e63b1bc1d629c304b0ba43a88946 |
- To use the Android N APIs, your project must be configured appropriately. -
+Now that the N platform API level is "24" instead +of "N", you can configure your projects normally with this API level (and even +publish your apps compiled with API 24 on Google Play). Just be sure that you've +updated your project to use Android SDK Build Tools 24.0.0 and +Android SDK Platform-Tools 24.0.0.
If you plan to use Java 8 language features, you should also read Java 8 Language Features @@ -156,18 +154,20 @@ how to configure your project with the Jack compiler.
android {
- compileSdkVersion 'android-N'
- buildToolsVersion '24.0.0-rc3'
+ compileSdkVersion 24
+ buildToolsVersion '24.0.0'
...
defaultConfig {
- minSdkVersion 'N'
- targetSdkVersion 'N'
+ targetSdkVersion 24
...
}
...
}
+Now that the API level 24 is final, you can compile against it and keep your
+minSdkVersion to whatever version is appropriate for your app.