Android Studio 3.3 Canary 发布,包含重要的 bug 修复

栏目: 软件资讯 · 发布时间: 6年前

内容简介:Android Studio 3.3 Canary 已发布。该版本带来了不少的新特性,还修复了一些重要的 bug,例如在打包 APK 时,Gradle 会消耗大量内存,从而导致出现 Java 堆栈溢出的错误。 新特性 The flag for disabling incre...

Android Studio 3.3 Canary 已发布。该版本带来了不少的新特性,还修复了一些重要的 bug,例如在打包 APK 时,Gradle 会消耗大量内存,从而导致出现 Java 堆栈溢出的错误。

新特性

  • The flag for disabling incremental dexing (useDexArchive) has been removed.

  • Android Studio 3.2 gave warnings when it found differences in versions between runtime and compile classpaths. Android Studio 3.3 reports these differences as errors.

  • Android Studio 3.3 Canary 1 includes Kotlin 1.2.50. The ability to update the Kotlin plugin in Android Studio is temporarily disabled; this is to prevent the installation of incompatible plugins while we resolve some issues.

  • The new getRawAndroidResources() method in the Gradle build API returns a file collection containing all resources for the variant. This method has been added primarily as a step toward migrating the Kotlin Android Extensions plugin to this API so that it will no longer need to use the MergeResources task. This new method is in incubation, meaning that it may be changed or removed without notice.

  • The new applicationIdTextResource method in the Gradle build API returns the application ID of a variant. For feature variants, this returns the resolved application ID from the application; for application variants, this method behaves the same as getApplicationId().

  • The Gradle signingReport task now also returns an SHA-256 hash.

  • The SDK Manager now reports the size of files downloaded during the update process.

已修复的 bug

  • Gradle was consuming large amounts of memory, leading to Java heap space errors, when packaging APKs.

  • Some JAR files could not be opened for the reading of their class files for dexing. This has been fixed by switching to a new ZIP file decoder.

  • Processing module-info.class during desugaring analysis caused failures with the message java.lang.IllegalArgumentException: Type without superclass: module-info. This file is now filtered out during desugaring analysis.

  • The Force HTTP setting in the Android Studio SDK updater was not working.

  • The SDK Manager command-line argument --package_file was not working.

  • Android Studio did not use the ANDROID_SDK_ROOT environment variable when installing the Android SDK.

  • The Android test plugin ignored the Gradle command-line parameters to select which tests to run.

下载地址 https://developer.android.com/studio/preview/index.html


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上所述就是小编给大家介绍的《Android Studio 3.3 Canary 发布,包含重要的 bug 修复》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

人本界面

人本界面

(美)拉斯基(Jef Raskin) / 史元春 / 机械工业出版社 / 2004-1-1 / 28.0

如果我们想克服目前人机界面上的固有缺陷,就很有必要理解本书的教义;若无此愿望,读读也无妨。交互设计的许多重要方面此书并没有包括在内,因为许多文献中都已经有详尽的阐述。本书的意图是补充现有的界面设计的方法或预测未来。  本书概述了人机界面设计领域的研究成果,详细论证了界面设计思想应以认知学为基础,并考虑人类的心智特点,在指出当前界面设计中弊端的同时,提出了新产品开发的思路。本书集计算机科学、人体工程......一起来看看 《人本界面》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具