设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Android Studio 1.1 Preview 2预览版发布

2015-1-25 16:26| 发布者: joejoe0332| 查看: 737| 评论: 0|原作者: oschina|来自: oschina

摘要:   Android Studio 1.1 Preview 2 发布,跟 Preview 1 一样,该版本主要是 bug 修复,目前团队同时也在进行 1.2 版本的开发,1.2 版本主要是基于 IntelliJ 14 的代码基础。In this build, there are several new li ...

  Android Studio 1.1 Preview 2 发布,跟 Preview 1 一样,该版本主要是 bug 修复,目前团队同时也在进行 1.2 版本的开发,1.2 版本主要是基于 IntelliJ 14 的代码基础。


In this build, there are several new lint checks:

  • Check for suspicious language/region combinations (where you are defining a translation for a language and specific locale, where the combination of language and region is unusual and it's possible that you've used the wrong code.)

  • Checks that the tag passed to a Log.severity(tag, ...) call and its surrounding Log.isLoggable(tag) calls refer to the same tag. Similarly, it also checks that the logging level passed in to isLoggable matches the type of logging call, e.g. if if you check isLoggable(..., Log.DEBUG) you should log with Log.d, not Log.v or Log.i. 

  • Checks that the tag passed to the logging calls, if its value can be resolved, is at most 23 characters long (as required by the Logging API.)

  • Checks that calls to info, verbose and debug logging calls are surrounded by a conditional (e.g. isLoggable or BuildInfo.DEBUG) but only if that logging call "performs work" (e.g. concatenates non constant strings or performs methods calls etc). This check is off by default.

  • Check for using drawables instead of mipmaps for the launcher icon, where the application is also filtering the set of densities packaged into the APK. There is also a quickfix in the IDE for migrating an icon from a @drawable to a @mipmap.

此外,默认的启动图标已经更新到 Material Design 外观。同时包括一个 xxxhdpi density icon。

此版本修复的 bug:

56986: Incorrect flag for portuguese

59042: strings.xml reformated every time I create new Activity

77158: Sync removes modules that do not have a Gradle counterpart.

81457: Fixes low resolution icon in Linux.

82387: Add intention to correct XML namespace for support lib

82564: Making AVD Manager separate (non-modal) window.

92005: Allow cancelling task that retrieves device screenshots

93284: Including comments when merging xml

94499: Fixing the device preview in the search and create cases

97006: Gradle lint does not recognize Context.getDrawable() as API 21+

98297: Fix run dialog modality to allow avd manager interaction

98317: Fixing resource merge to work within new project wizard

98997: Pick test runner from Gradle while creating test configuration

101279: Fix id reference check to properly handle undefined id's

103257: Append .exe extension on Windows (mksdcard)

103257: Welcome Wizard, on Windows, shows "Tools directory not found" error incorrectly

+ Bug fixes not tagged with a bug number in the commit message.

更多内容请看发行说明

酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部