红联Linux门户
Linux帮助

Android Studio 0.2.10发布

发布时间:2013-09-25 15:17:13来源:红联作者:empast
Android Studio 0.2.10 发布了,改进内容包括:

更新 IDE 到 IntelliJ EAP build #132.325 源,该版本修复的 bug 列表请看
http://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+13+132.325+Release+Notes
This fixes the dark theme todo-token color many users reported
新集成了性能跟踪文件浏览器

If you already have .trace files that you have generated programmatically or with DDMS, just open it in Android Studio with File > Open. Otherwise, open the DDMS view (View > Tool Windows > Android), select your application, and click on the “Start Method Tracing” icon:

For more information about traceview, see the traceview document.
改进快速文档 (View > Quick Documentation, or F1)
Now resolves framework resources as well, such as @android/string/ok => "Ok"
The quick documentation now shows the resource resolution chain. Here we're showing quick documentation for @android:color/primary_text_dark; in addition to resolving this to the color #ffffff, which is shown, it also shows the color reference chain was @android:color/primary_text_dark, which pointed to a statelist file primary_text_dark.xml, and from there we picked up the default state to go to @android:color/bright_foreground_dark, which resolves to @android:color/background_light, and that color is finally defined as #ffffffff. (There are some additional fixes for this feature to handle theme attributes (?name) in the preview build.)

As shown above, we now preview colors (previously we only showed drawable bitmaps, and textual resources such as strings and dimensions).
For array resources, we now display the elements of the arrays
In Java files, resource documentation and editor margin previewing now properly handles android.R resources.
The feature which displays icons in the left hand gutter for drawable references is now finds the smallest density bitmaps of a resource to use for editor margin previews. Since large images are ignored for performance reasons, this makes more icons eligible for editor preview.
布局渲染 Layout Rendering
Layout rendering now detects cycles in layout dependencies and displays the invalid chain

Added new Nexus 7 device specs to the preview render device list along with device frame art (which also works for the Screenshot action)
If you have the Android source code installed for the Android version currently being rendered, and a custom view throws an exception during painting, the stack frame displayed in the error output will hyperlink directly to the relevant code in the Android source code for frames in the android package.
Editing
Indirect AAR library dependencies are now handled correctly
Gradle 集成
Much faster project import! When using Gradle 1.8 and the Android Gradle plug-in 0.5.7 you'll experience considerably faster project imports.
Android Studio now saves Gradle's VM options across sessions
Further improvements to the Gradle output parser: it now recognizes duplicate resource errors specifically, and adds separate error messages pointing directly to each of the declaration locations in the separate files
Fixed bug where it was not possible to import a project using the Gradle wrapper with Gradle 1.6
Fixed miscellaneous bugs, including a deadlock

免费下载:http://developer.android.com/sdk/installing/studio.html

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

共有 1 条评论

  1. qq525qq 于 2013-09-25 15:46:18发表:

    关注中