Android Studio 2.0 正式版发布啦 (首次中文翻译)

Android Studio 2.0 发布了,增加了一些新特性:

1. 更加完善的 Instant Run

2. 更快的 Android Emulator

3.GPU Debugger Preview

4. 包含了 IntelliJ 15 的更新

Android Studio 2.0

原文   (翻译在往下翻)

Posted by Jamal Eason, Product Manager, Android

Android Studio 2.0 is the fastest way to build high quality, performant apps for the Android platform, including phones and tablets, Android Auto, Android Wear, and Android TV. As the official IDE from Google, Android Studio includes everything you need
to build an app, including a code editor, code analysis tools, emulators and more. This new and stable version of Android Studio has fast build speeds and a fast emulator with support for the latest Android 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 are developing for Android, you should be 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 towarm
    swapping app resources
    , Instant Run will save you time every day.
  • Android Emulator - The new emulator runs ~3x faster than Android’s previous emulator, and with ADB enhancements you 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 Google Play Services built-in, so you can test out more API functionality. Finally, the new emulator has 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 theCloud
    Test Lab
    right from within Android Studio.
  • App Indexing Code Generation & Test - Help promote the visibility your app 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 that
    you can test all within the IDE.
  • GPU Debugger Preview - For those of you 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 15 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 are centered around speed and agility. And yet, building for mobile can sometimes feel clunky and slow. Instant Run in Android Studio is our solution to keep you in 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 will analyze the changes you have made and determine how it can deploy your new code in the fastest way.

New Instant Run Buttons

Whenever possible, it will inject your code changes into your running app process, avoiding re-deployment and re-installation your APK. For some types of changes, an activity or app restart is required, but your edit, build and run cycles should still be
generally much faster than before. Instant Run works with any Android Device or emulator running API 14 (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 future releases because build speeds can never be too fast. To learn how
you can make the most out of Instant Run in your app development today, please check out our Instant Rundocumentation.

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 you‘re ready to build, ADB push speeds are a whopping10x faster! In most situations, developing on the
official Android Emulator is faster than a real device, and new features like Instant Run will work best with the new Android emulator.

In addition to speed and performance, the Android Emulator has a brand user interface and sensor controls. Enhanced since theinitial
release
, with the emulator you 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 is as easy as updating your SDK Tools to 25.1.1 or higher, create a fresh Android Virtual Device using one of the recommended x86 system images and you are ready to go. Learn more about the Android Emulator by checking out thedocumentation.

Cloud Test Lab

Cloud Test Lab is a new service that allows you to test your app across a wide range of devices and device configurations at scale in the cloud. Once you complete your initial testing with your Android Emulator or Android device, Cloud Test Lab is a great
extension to your testing process that provides you to run through a collection of tests against a portfolio of physical devices hosted in Google’s data centers. Even if you do not 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 you to configure the portfolio of tests you want to run on Cloud Test Lab, and allows you to also see the results of your tests. To learn more about the service gohere.

Setup for Cloud Test Lab

App Indexing

It is now easier for your users to find your app in Google Search with the App Indexing API. Android Studio 2.0 helps you to create the correct URL structure in your app code and add attributes in your AndroidManifest.xml file that will 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 app indexing support in Android Studio.

GPU Debugger Preview

If you are developing OpenGL ES games or graphics-intensive apps, you have a new GPU debugger with Android Studio 2.0. Although the GPU debugger is a preview, you can step through your app frame by frame to identify and debug graphics rendering issues with
rich information about the GL state. For more details on 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 are using a previous version of Android Studio, you can check for updates on the Beta channel from the navigation menu (Help → Check for Update [Windows/Linux] , Android Studio → Check for Updates [OS X]). If you need a new copy of Android Studio,
you can download it here. If you developing for the N Developer Preview, check out this additional setupinstructions.

Set Up Instant Run & Android Emulator

After you update to or download Android Studio 2.0, you should upgrade your projects to use Instant Run, and create a fresh Android Virtual Device (AVD) for the new Android emulator and you are on your way to a fast Android development experience.

Using Instant Run is easy. For each of your existing projects you will 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 app projects in Android Studio 2.0, Instant Run is on by default. Check out thedocumentation
for more details.

We are already hard at work developing the next release of Android Studio. We appreciate any feedback on 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.

首次中文翻译

    发布者: 
Jamal Eason, Product Manager, Android

          Android Studio 2是建立高质量的最快途径,高性能的应用程序的Android平台,包括手机和平板电脑,Android Auto,Android
Wear,Android电视。从谷歌官方的Android Studio IDE,包括一切你需要建立一个应用程序,包括一个代码编辑器,代码分析工具,仿真器和更多。这个新的稳定版本的安卓工作室拥有快速建立速度和一个快速的模拟器,支持最新的安卓版和谷歌播放服务。

        安卓工作室是建立在与安卓平台的协调和支持所有最新和最伟大的。如果您正在开发的安卓,您应该使用AS2.0。这是今天   作 为一个易于下载或更新的稳定释放通道。

AS2.0 包括以下新功能,安卓开发者可以在他们的工作流程中使用:

1.运行速度快

2.Android模拟器

3. 集成云测试

4.应用程序代码自动生成,速度极快

5.GPU调试器预览效果更好

6.IntelliJ 15更新

时间: 2024-10-06 03:21:34

Android Studio 2.0 正式版发布啦 (首次中文翻译)的相关文章

Android Studio 1.0 稳定版发布(含下载链接和使用教程)

本文已同步发布到个人博客:liyuyu.cn 经过两年的发展,Google于今天发布了Android Studio 1.0--针对Android开发者集成开发环境(IDE)的第一个稳定版本. Android Studio有四个不同的版本(你可以在页面里通过设置更新来改变版本),包括Canary. Dev. Beta和Stable.下面是它们的详细介绍: Canary版本:这个版本的更新频率大概是一周,当它们被测试时,它们仍受制于Bug,Google希望开发者能够尽快的发现新Bug. Dev版本:

Android Studio 2.0 正式版公布啦 (首次中文翻译)

Android Studio 2.0 公布了,添加了一些新特性: 1. 更加完好的 Instant Run 2. 更快的 Android Emulator 3.GPU Debugger Preview 4. 包括了 IntelliJ 15 的更新 Android Studio 2.0 原文   (翻译在往下翻) Posted by Jamal Eason, Product Manager, Android Android Studio 2.0 is the fastest way to buil

Android Studio 1.0 正式版下载(另附百度网盘链接)

众所周知,想要访问Android官网还是不容易的,这里我把那个页面复制过来了,里面带有需要的链接.其实只要把该链接离线到百度网盘即可(或者使用我已的百度网盘链接),或者用迅雷来下载,速度还是挺快的. 链接: http://pan.baidu.com/s/1qWyS1Z2 密码: 2cvh System Requirements Windows Microsoft? Windows? 8/7/Vista/2003 (32 or 64-bit) 2 GB RAM minimum, 4 GB RAM

Android Studio 2.3 正式版新功能,你不来看看?!

2017.3.3 Google老大发布了Android Studio 2.3正式版. 在许多2.3beta版本的基础上修复了bug然后推出了正式版.提供了一些新特性,和对部分已有功能的修改完善. Build Instant Run Improvements and UI Changes 之前的版本,会默认勾选上Instant Run 选项,然后在控制面板上只有一个Run 和Debug按钮.编译器自动判断是否需要Instant Run.2.3.0正式版在控制面板上多出了一个Instant Run按

Appium路线图及1.0正式版发布

Appium更新的速度极快,从我试用时候的0.12到1.0beta(0.18版本后就是1.0),完全符合移动互联网的节奏. 整理了testerhome上思寒发表的帖子,让我们来看下历程. 1. appium1.0 beta 和正式版里程碑 appium1.0 beta版本里程碑的issue列表https://github.com/appium/appium/issues?milestone=1&state=open appium1.0正式版本里程碑https://github.com/appiu

AngularJS 2.0 正式版发布

AngularJS 2.0 正式版发布!!!! (编辑:我说你们能不在节假日发布新版本吗?还让不让人放假了?) 关于新版本的特性,在之前的几个测试版本中已经介绍很详尽了,有兴趣的可以翻译一下之前几个 2.0 的测试版本新闻. Angular 团队接下来主要的工作重点包括以下几个方面: Bug 修复和促进一些新特性 API 更稳定 提供更多指南以及示例(基础教程qkxue.net) 动画方面的进一步增强 Angular Material 2 WebWorkers 从体验版到稳定版 Angular

Redis 3.0正式版发布,正式支持Redis集群

Redis是一个开源.基于C语言.基于内存亦可持久化的高性能NoSQL数据库,同时,它还提供了多种语言的API.近日,Redis 3.0在经过6个RC版本后,其正式版终于发布了.Redis 3.0的最重要特征是对Redis集群的支持,此外,该版本相对于2.8版本在性能.稳定性等方面都有了重大提高. Redis 3.0正式版相对于RC6版本的改进内容包括: 修复了无磁盘情况下的的复制问题: 在角色变化后对BLPOP复制进行了测试: 改进了prepareClientToWrite()错误处理: 移除

Deis 1.0 正式版发布,可用于产品环境!

基于 Docker 的开源 PaaS 系统 Deis 1.0 正式版发布了,这是 Deis 的首个稳定版本,你现在可以在生产环境中使用该系统,这是 Deis 首个基于 Docker 构建的产品级别的 PaaS 系统. Deis 1.0 提供了稳定的 API.丰富的功能特性以及可靠的组件架构.包括: 平台质量  - Deis 由久经沙场的社区进行测试,可处理企业级产品负载 安装便捷 - Deis 可通过一个简单的命令行工具在 30 分钟内安装到 CoreOS 集群中 高可用性 - 整个 Deis

Lucene 4.0 正式版发布,亮点特性中文解读[转]

http://blog.csdn.net/accesine960/article/details/8066877 2012年10月12日,Lucene 4.0正式发布了(点击这里下载最新版),这个版本因为诸多的新特性和大胆的架构调整一直备受期待.无论是索引结构,索引算法以及整体架构的包容性都发生了翻天覆地的变化.正如大家一直所说的Lucene是一个搜索工具包 ,而4.0的发布则让Lucene向搜索框架的方向迈出了一大步. 下面我们来逐一解读Lucene 4.0的新特性吧. Lucene 4.0