Android Studio 4.2 Canary 4 available

Android Studio 4.2 Canary 4 available

常规修复

本次更新修复如下 Bug:

Android Gradle Plugin

Code Analysis

  • Issue #36978767: Add corresponding Intention for inspection "Toast created but not shown: did you forget to call show() "
  • Issue #62405955: (Feature request) Provide inspection for missing show() call on Snackbar

Database Inspector

  • Issue #157461456: Database inspector disappear from toolbar
  • Issue #159575631: Simple (and complex) query using With clause doesn't work on the Database Inspector

Emulator

  • Issue #158874142: Studio clipboard does not pick up clipboard selection from the emulator

Lint

  • Issue #140626689: False positive for Service.onStartCommand return value WrongConstant check
  • Issue #119711823: "Invalid format string" lint rule doesn't report issue for a space in patern "% s"
  • Issue #136534380: "Buttons in button bars should be borderless" warning in a layout XML doesn't have an auto-fix option
  • Issue #77299597: "Combining ellipsize=middle and maxLines=1..." warning should not show when minSdkVersion is 23 or higher
  • Issue #74058591: "Unexpected failure during lint analysis" for invalid replace string quick fix masks actual problem
  • Issue #111035260: "enable 'LogConditional'" doesn't enable check
  • Issue #37053735: "Unexpected cast" Inspection should offer replacement suggestion
  • Issue #62810553: "android:host is missing" for uris with null host
  • Issue #158295165: Android Lint: Unknown Issue IDs should NOT break the build
  • Issue #158189490: NewApi lint check does not factor in usage of core library desugaring

Manifests

  • Issue #158406168: Navigation component Illegal circular reference among navigation files when traversing navigation file references starting with navigationXmlId

New Code/Templates

Resources

  • Issue #151480852: Bug: color preview in colors.xml file can show the wrong one, referenced by a different qualifier

SDK Manager

View Binding

  • Issue #158065847: Autocomplete for binding classes in Android Studio 4.0 could be better

版权声明

禁止一切形式的转载-禁止商用-禁止衍生 申请授权

脉脉不得语
脉脉不得语
Zhengzhou Website
Android Developer | https://androiddevtools.cn and https://androidweekly.io Funder | GDG Zhengzhou Funder & Ex Organizer | http://Toast.show(∞) Podcast Host

你已经成功订阅到 Android 开发技术周报
太棒了!接下来,完成检验以获得全部访问权限 Android 开发技术周报
欢迎回来!你已经成功登录了。
Unable to sign you in. Please try again.
成功!您的帐户已完全激活,您现在可以访问所有内容。
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.
🍗