热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

AndroidStudio2.0发布了

就在昨天Google官方发布了AndroidStudio2.0稳定版,来来来,一起来围观这次到底有哪些更新。InstantRun-Foreverydev

就在昨天Google官方发布了Android Studio 2.0稳定版,来来来,一起来围观这次到底有哪些更新。


  • 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 warm 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 the Cloud 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 features here.


以上是官方的一些说法,英语好的不妨看原版,英语不好的别着急,让我这个英语渣试着给大家稍微翻译下,翻译的不好估计你们也看不出来,反正你们英语也不好。


Instant Run

快速启动,这里做了大幅优化,之前我们代码做了改动,重新编译运行,然后安装,整个过程很慢的,现在如果你的代码做了改动,会自动的分析,避免重复发布、安装的过程,总之就是让你的启动速度更快了。不过需要你的API环境在14以上。评:很有用。



Android Emulator

模拟器,一句话,官方的说法是大幅优化性能,启动、运行模拟器更快了。评:然而模拟器的速度还是很慢,我还是选择继续用真机调试。




Cloud Test Lab

云测试实验室,说白了就是上传你的app,在云端帮你测试兼容性、崩溃之类的,感兴趣的可以试一下。评:再好用的Google服务在国内都有替代品,比如国内Testin云测试做的很早了。


App Indexing

如果你用了Google的App Indexing API,那么用户在使用Google搜索的时候很容易搜到你的App,而AS 2.0集成了Google App Indexing Test的功能,方便你测试并预览相关效果。评:这功能在天朝没卵用!


GPU Debugger Preview

Google这次发布了一个调试GPU的工具,只需要简单的下载并集成进来就可以方便查看GPU的各种信息,很有用。评:这功能针对OpenGL ES的游戏开发或者强图形渲染的App有用,普通的App开发基本用不到。


以上就是本次Android Studio 2.0版本的主要更新内容,如果翻译不对或者有不同一间还请大家留言指正。


最后英语好的直接看视频:


class="video_iframe" height="502.5" width="670" frameborder="0" data-src="https://v.qq.com/iframe/preview.html?vid=n0192ttzkzc&width=500&height=375&auto=0" allowfullscreen="" scrolling="no" src="https://v.qq.com/iframe/player.html?vid=n0192ttzkzc&width=670&height=502.5&auto=0&encryptVer=6.0&platform=61001&cKey=SnHYVp0H+nvhKSvGQYMiBlz7OHHMkkZsVsTcuIHCuaCG6OCmZRMEOz9gqa9LOw2M" style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important; display: block; z-index: 1; width: 670px !important; height: 502.5px !important; overflow: hidden;">

另外需要说明的是Android Studio 2.0需要你的Gradle Plugin的版本升级到2.10,总体体验下来速度确实比之前快了不少。


推荐阅读
author-avatar
Money00Fish
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有