红联Linux门户
Linux帮助

Android Studio 0.5.0发布

发布时间:2014-03-07 15:27:43来源:红联作者:empast
Android Studio 0.5.0 发布了,改进内容包括:

Support for the Android Gradle plugin 0.9. (Note that it also requires 0.9 or higher, and there are a couple of incompatible changes: See this page for how to update your project if you are affected: tools.android.com/tech-docs/new-build-system/migrating_to_09)

For a list of the new features and changes in the Android Gradle plugin, see http://tools.android.com/tech-docs/new-build-system

New bundled version of IntelliJ 13.1 EAP build.
This means we're switching from the stable 13.0.x releases to 13.1 to pick up some platform support we need, but we also pick up some great new features:

Postfix code completion: http://blog.jetbrains.com/idea/2014/03/postfix-completion/

Code templates in code completion, and block reformatting: http://blog.jetbrains.com/idea/2014/02/intellij-idea-13-1-eap-134-1342-is-out/

Full release notes for the two new 13.1 EAP builds we're picking up: 134.1160 and 134.1342.

Gradle Support

Offline mode for sync and build

Support for source folders outside the module content root

Support for build variants in library projects

Lint

Architectural improvements allow many cross-file checks to be run incrementally in the IDE such that they show up in the editor while editing, rather than requiring a full Analysis run to be performed. For example, while you are editing an Activity class, it will incrementally ensure that your findViewById calls perform a valid cast based on how those id's are used in the layout resource files:

Similarly, it will check your String.format calls to ensure that the types of the parameters match the formatting conversion specifiers found in the value resource files. Other newly incremental checks include the array size check, the unknown id check, the missing orientation check, the locale check and the text field input type check.

Thelint.xml configuration file can now filter out errors in files not just by exact relative paths but also by regular expressions such as

and by glob expressions:


flag Gradle packageSuffix usage where the suffix does not start with a dot

Editor support for Android transition resource files: validation, code completion, documentation

A large number of bug fixes!

注意: 如果你使用 OS X,并且修改了 Info.plist 文件以使用 Java 7,那么 IDE 可能会起不来。

项目主页:http://tools.android.com/knownissues

下载地址:http://developer.android.com/sdk/installing/studio.html

来自:oschina开源中国社区
文章评论

共有 0 条评论