Android sdk tools download specific version






















If you are developing outside Eclipse, you must have Apache Ant 1. This means that you should add the new location to your PATH and modify any custom build scripts to reference the new location. Copying the adb executable from the new location to the old is not recommended, since subsequent updates to the SDK Tools will delete the file. The SDK Tools now support the use of library projects during development, a capability that lets you store shared Android application code and resources in a separate development project.

You can then reference the library project from other Android projects and, at build time, the tools compile the shared code and resources as part of the dependent applications.

More information about this feature is available in the Creating and Managing Projects document. If you are developing in Eclipse, ADT provides the equivalent library project support. The SDK Tools r3 package includes layoutopt , a new command-line tool that helps you optimize your layout hierarchies.

When run against your layout files, the tool analyzes their hierarchies and notifies you of inefficiencies and other potential issues. The tool also provides simple solutions for the issues it finds. For usage, see layoutopt. About Android Legal Support. Quicknav Quicknav. Results Loading Setting Up Virtual Devices. Setting Up Projects. Building and Running.

Tools Help. Revisions The sections below provide notes about successive releases of the SDK Tools, as denoted by revision number. If you haven't already, update your ADT Plugin to General Notes: Improved error reporting in dx when dex merging fails in the build system. Added more than 15 new Lint checks, including checks for overriding older APIs, XML resource problems, graphic asset issues and manifest tags.

Added new aapt feature to compile resources. General Notes: Build Updated build to detect and handle package name conflicts between an application and the libraries it depends on. Libraries cannot share package names unless all of them share the same package name. Issue , Issue Added a flag to disable dex merging to deal with cases where merging could generate a broken dex file. If this happens to your project, add the following setting to your project.

Renderscript Added support for Filterscript compilation. Added new project setting to control the Renderscript compilation target separately from an Android project. Adding the following line to a project. Issue Fixed incorrect flagging of formatting strings. Issue Fixed problem where tools:ignore directive in the manifest file was ignored by the Lint tool. Issue Fixed problem with flagging a wakelock release inside a conditional. Issue Fixed handling of custom namespace attributes.

Added fixes for filtering out library project warnings. Removed warnings about missing classes before a build. Fixed problem with the SDK Manager so that it auto-selects the most recently released platform on startup. Fixed Java finding script to look for the currently supported version of Java 1. Enable this mode by adding the following line to the project.

Who owns this outage? Building intelligent escalation chains for modern SRE. Podcast Who is building clouds for the independent developer? Featured on Meta. Now live: A fully responsive profile. Reducing the weight of our footer. Linked Related Hot Network Questions. Improve incremental installation performance. Fix adb push --sync with multiple inputs. Improve performance of incremental apk installation.

Improve error handling for incremental apk installation. Fix adb install-multi-package. Fix some more crashes related to adb wireless pairing. Improve some error messages. Fix fastboot flashall on older devices such as Nexus 7. Fix crash when using adb -H. Fix hang in adb logcat when run before a device is connected.

Improve performance of adb install-multi on Android 10 or newer devices. Update support for wireless pairing. Add support for incremental APK installation. Improve performance of adb push on high-latency connections. Fix hang when using adb install on something that isn't actually a file. Add --fastdeploy option to adb install , for incremental updates to APKs while developing.

This also fixes a related bug in the Android Studio Profilers that causes an AdbCommandRejectedException , which you can see in the idea. Fix devices going offline on Windows. Improve adb install output and help text. On Linux, when connecting to a newer adb server, instead of killing the server and starting an older one, adb attempts to launch the newer version transparently. Previously, adb root; adb wait-for-device could mistakenly return immediately if adb wait-for-device started before adb noticed that the device had disconnected.

Start projects using template code for patterns such as navigation drawer and view pagers, and even import Google code samples from GitHub. With the new Android Project View and module support in Android Studio, it's easier to manage app projects and resources. Virtual devices for all shapes and sizes Android Studio comes pre-configured with an optimized emulator image. The updated and streamlined Virtual Device Manager provides pre-defined device profiles for common Android devices.

For more details about features available in Android Studio, read the overview at Android Studio. For help moving projects, see Migrating to Android Studio. Except as noted, this content is licensed under Creative Commons Attribution 2. For details and restrictions, see the Content License.

You have successfully signed up for the latest Android developer news and tips. Results Loading Show navigation Hide navigation. Setting Up Virtual Devices.

Using Hardware Devices. Managing Projects. Building and Running. Tools Help. Build System. Peformance Tools. Hierarchy Viewer.



0コメント

  • 1000 / 1000