Android sdk API download
Overview Android Gradle Plugin The Android Gradle Plugin AGP is the supported build system for Android applications and includes support for compiling many different types of sources and linking them together into an application that you can run on a physical Android device or an emulator. This library is available in Java , Native code , and Unity.
Reference Deprecated Libraries These libraries are superseded by the AndroidX libraries and are no longer maintened. They are still shipped in the SDK to support legacy apps. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources either in whole or in part unless you have been specifically given permission to do so by the relevant owners. In that case, the License Agreement does not affect your legal relationship with these third parties.
Using Android APIs 8. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data either in whole or in part unless allowed by the relevant Terms of Service.
Terminating this License Agreement 9. Indemnification Changes to the License Agreement When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.
General Legal Terms The remaining provisions of the License Agreement will continue to be valid and enforceable. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement.
Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies or an equivalent type of urgent legal relief in any jurisdiction.
Fix fastboot flashall on Nexus 7. Fix crash when using adb -H. Added a comment to explain that. When creating an AVD with avdmanager, it is no longer necessary to specify --tag if the package specified by --package only contains a single image as is the case for all images currently distributed by Google.
Add --fastdeploy option to adb install, for incremental updates to APKs while developing. Available Packages: SDK Tools Contains tools for debugging and testing, plus other utilities that are required to develop an app.
If you've just installed the SDK starter package, then you already have the latest version of this package. Make sure you keep this up to date. SDK Platform-tools Contains platform-dependent tools for developing and debugging your application.
These tools support the latest features of the Android platform and are typically updated only when a new platform becomes available. The Platforms tab displays a list of platform SDK versions along with other resources like system images for each platform:.
This screen lists the Android version such as Android 8. When all components of a platform are installed, a checkmark appears next to the platform name. If not all components of a platform are installed, the box for that platform is filled. Click - to unexpand the component listing for a platform. To add another platform to the SDK, click the box next to the platform until the checkmark appears to install all of its components, then click Apply Changes :.
To install only specific components, click the box next to the platform once. You can then select any individual components that you need:. Notice that the number of components to install appears next to the Apply Changes button. After you click the Apply Changes button, you will see the License Acceptance screen as shown earlier. You may see this dialog more than one time when there are multiple components to install.
If users delete their Google accounts, their backup data is deleted as well. To learn how this feature works and how to configure what to back up on the file system, see Configuring Auto Backup for Apps. This release provides you with APIs to make sharing intuitive and quick for users. You can now define direct share targets that launch a specific activity in your app.
These direct share targets are exposed to users via the Share menu. This feature allows users to share content to targets, such as contacts, within other apps. For example, the direct share target might launch an activity in another social network app, which lets the user share content directly to a specific friend or community in that app. To enable direct share targets you must define a class that extends the ChooserTargetService class.
Declare your service in the manifest. The following example shows how you might declare the ChooserTargetService in your manifest. This release provides a new voice interaction API which, together with Voice Actions , allows you to build conversational voice experiences into your apps.
Call the isVoiceInteraction method to determine if a voice action triggered your activity. If so, your app can use the VoiceInteractor class to request a voice confirmation from the user, select from a list of options, and more. Most voice interactions originate from a user voice action.
A voice interaction activity can also, however, start without user input. For example, another app launched through a voice interaction can also send an intent to launch a voice interaction. To determine if your activity launched from a user voice query or from another voice interaction app, call the isVoiceInteractionRoot method.
If another app launched your activity, the method returns false. Your app may then prompt the user to confirm that they intended this action.
To learn more about implementing voice actions, see the Voice Actions developer site. This release offers a new way for users to engage with your apps through an assistant. To use this feature, the user must enable the assistant to use the current context.
Once enabled, the user can summon the assistant within any app, by long-pressing on the Home button. In addition to the standard set of information that the platform passes to the assistant, your app can share additional information by using the new AssistContent class.
With this release, users can adopt external storage devices such as SD cards. Adopting an external storage device encrypts and formats the device to behave like internal storage.
This feature allows users to move both apps and private data of those apps between storage devices. When moving apps, the system respects the android:installLocation preference in the manifest.
0コメント