Android Studio 2.0 Official release (first Chinese translation)

Source: Internet
Author: User


Android Studio 2.0 has been announced, adding some new features:

1. More Intact Instant Run

2. Faster Android Emulator

3.GPU Debugger Preview

4. Includes update for IntelliJ 15

Android Studio 2.0

The original text (translation in the downward turn)

Posted by Jamal Eason, Product Manager, Android

Android Studio 2.0 is the fastest-the-quality, performant apps for the Android platform, including phones an D tablets, Android Auto, Android Wear, and Android TV. As the official IDE from Google, Android Studio includes everything your need to build an app, including a code editor, cod E analysis tools, emulators and more. This new and stable version of Android Studio have fast build speeds and a fast emulator with support for the latest Androi D version and Google Play Services.

Android Studio is built in coordination with the Android platform and supports all of the latest and greatest APIs. If you is developing for Android, you should is using Android Studio 2.0. It is available today as a easydownload or update on the stable release channel.

Android Studio 2.0 includes the following new features that Android developer can use in their workflow:

  • Instant Run -for every developer who loves faster build speeds. Make changes and see them appear live in your running app. With many build/run accelerations ranging from VM hot swapping to

    Utm_campaign=android_launch_studio_040716&utm_source=anddev&utm_medium=blog#instant-run ">warm Swapping app resources, Instant Run would save your time every day.

  • Android Emulator -The new Emulator runs ~3x faster than Android ' s previous Emulator, and with ADB enhancements y ou can now push apps and data 10x faster to the emulator than to a physical device. Like a physical device, the official Android emulator also includes

    Utm_campaign=android_launch_studio_040716&utm_source=anddev&utm_medium=blog ">Google Play Services Built-in, so you can test out the more API functionality. Finally, the new emulator has a rich new features to manage calls, battery, network, GPS, and more.

  • Cloud Test Lab Integration -Write once, run anywhere. Improve the quality of your apps by quickly and easily testing on a wide range of physical Android devices in the

    Utm_campaign=android_launch_studio_040716&utm_source=anddev&utm_medium=blog#run-ctl ">Cloud Test Lab Right from within Android Studio.

  • app indexing Code Generation & Test -Help promote the visibility your apps in Google Search for your users by Adding auto-generated URLS with the App indexing feature in Android Studio. With a few click-you can add indexable URL links to you can test all within the IDE.
  • GPU Debugger Preview -For those of your developing OpenGL ES based games or apps, you can now see each frame and The GL state with the new GPU debugger. Uncover and diagnosis GL rendering issues by capturing and analyzing the GPU stream from your Android device.
  • IntelliJ Update -Android Studio is built on the world class IntelliJ coding platform. Check out the latest Intellij featureshere.

Deeper Dive into the New Features

Instant Run

Today, mobile platforms is centered around speed and agility. And yet, building for mobile can sometimes feel clunky and slow. Instant Run in Android Studio was our solution to keep a fast and fluid development flow. The feature increases your developer productivity by accelerating your edit, build, run cycles. When you click on the Instant Run button (), Instant run would analyze the changes you had made and determine how it can D Eploy your new code in the fastest.

New Instant Run Buttons

Whenever possible, it'll inject your code changes into your running app process, avoiding re-deployment and Re-installat Ion your APK. For some types of changes, an activity or app restart was required, but your edit, build and run cycles should still be Gen Erally much faster than before. Instant Run works with any Android Device or emulator running API (Ice Cream Sandwich) or higher.

Since previewing Instant Run at the end of last year, we ' ve spent countless hours incorporating your feedback and refining For the stable release. Look for even more acceleration in the future releases because build speeds can never is too fast. To learn what can make the most out of Instant Run in your app development today, please check out our Instant rundocum Entation.

Android Emulator

The new Android Emulator is up to 3x faster in CPU, RAM, & I/O in comparison to the previous Android Emulator . And when your ' re ready to build, ADB push speeds is a whopping10x faster! In most situations, developing on the official Android Emulator are faster than a real device, and new features like Instan T Run would work best with the new Android emulator.

In addition to speed and performance, the Android Emulator have a brand user interface and sensor controls. Enhanced since theinitial release, with the emulator-can drag and drop APKs for quick installation, resize and Rescale The window, use multi-touch actions (pinch & zoom, pan, rotate, tilt) and much more.

Android Emulator User Interface:toolbar & Extend Controls Panel

Trying out the new emulator are as easy as updating your SDK Tools to 25.1.1 or higher, create a fresh Android Virtual Devi Ce using one of the recommended x86 system images and you is ready to go. Learn more on the Android Emulator by checking out thedocumentation.

Cloud Test Lab

Cloud Test Lab is a new service This allows you to Test your app across a wide range of devices and device configurations At the cloud. Once your initial testing with your Android Emulator or Android device, Cloud Test Lab is a great extension t o Your testing process that provides you to run through a collection of tests against a portfolio of physical devices host Ed in Google ' s data centers. Even if you don't have tests explicitly written, Cloud Test Lab can perform a basic set of tests to ensure that your app does not crash.

The new interface in Android Studio allows your to configure the portfolio of tests you want to run on Cloud Test Lab, and Allows also see the results of your tests. To learn more about the service go

Utm_campaign=android_launch_studio_040716&utm_source=anddev&utm_medium=blog#run-ctl ">here.

Setup for Cloud Test Lab APP indexing

It's now easier-your users to find your apps in Google Search with the

Utm_campaign=android_launch_studio_040716&utm_source=anddev&utm_medium=blog ">App Indexing API. Android Studio 2.0 helps you to create the correct URL structure in your app code and add attributes in your Androidmanife St.xml file that would work the Google App Indexing Service. After you add the URLs to your app, can-you-test and validate-your app indexing code as shown here:

Google App Indexing Testing

Check out this link for more details about the app indexing support in Android Studio.

GPU Debugger Preview

If you were developing OpenGL ES games or graphics-intensive apps, you had a new GPU debugger with Android Studio 2.0. Although the GPU debugger is a preview, you can step through your apps frame by frame to identify and debug graphics render ing issues with rich information on the GL state. For more details about how to setup your Android device and app to work with the tool, check out the tech documentationshere.

GPU Debugger Preview What ' s Next

Update

If you is using a previous version of Android Studio, you can check for updates on the Beta channel from the Navigation m ENU (help→check for Update [Windows/linux], Android studio→check for Updates [OS X]). If you need a new copy of the Android Studio, you can download it here. If you developing for the N Developer Preview, check out this additional setup

Utm_campaign=android_launch_studio_040716&utm_source=anddev&utm_medium=blog#get-as13 ">instructions.

Set up Instant Run & Android Emulator

After your update to or download Android Studio 2.0, you should upgrade your projects to use Instant Run, and create a fres H android Virtual Device (AVD) for the new Android emulator and what is on your-on-a-fast Android development Experien Ce.

Using Instant Run is easy. For each of your existing projects you'll see a quick prompt to update your project to the new Gradle plugin version(com.android.tools.build:gradle:2.0.0).

Prompt to update your gradle version in your project

For all new apps projects in Android Studio 2.0, Instant Run are on by default. Check out thedocumentation for more details.

We is already hard in work developing the next release of Android Studio. We appreciate any feedback in things you like, issues or features you would like to see. Connect with us – the Android Studio development team – on our Newgoogle+ page or ontwitter.

First Chinese translation

published by: Jamal Eason, Product Manager, Android

Android Studio 2 is the fastest way to build high-quality, high-performance apps for Android platforms, including phones and tablets, Android auto,android wear,android TVs. From the official Google Android Studio IDE. Contains everything you need to build an application that contains a code editor. Code analysis tools, emulators and many others. This new stable version of the Android studio has a high speed build-up speed and a high-speed simulator that supports the latest Android version and Google Play service.


The android Studio is built on the latest and greatest in coordination and support with the Android platform.

Suppose you are developing an android. You should use AS2.0. This is today as a stable release channel that is easy to download or update.

AS2.0 contains the following new features. Android developers can use them in their workflows:

1. Fast execution speed

2.Android Simulator

3. Integrated Cloud Test

4. The application code is generated on its own initiative, extremely fast

5.GPU Debugger Preview Works better

6.IntelliJ 15 Update




Android Studio 2.0 Official release (first Chinese translation)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.