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

栏目: 编程工具 · Android · 发布时间: 6年前

内容简介:Android Studio 3.3 Canary下载地址

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


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

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

人类2.0

人类2.0

皮埃罗∙斯加鲁菲(Piero Scaruffi) / 闫景立、牛金霞 / 中信出版集团股份有限公司 / 2017-2-1 / CNY 68.00

《人类2.0:在硅谷探索科技未来》从在众多新技术中选择了他认为最有潜力塑造科技乃至人类未来的新技术进行详述,其中涉及大数据、物联网、人工智能、纳米科技、虚拟现实、生物技术、社交媒体、区块链、太空探索和3D打印。皮埃罗用一名硅谷工程师的严谨和一名历史文化学者的哲学视角,不仅在书中勾勒出这些新技术的未来演变方向和面貌,还对它们对社会和人性的影响进行了深入思考。 为了补充和佐证其观点,《人类2.0......一起来看看 《人类2.0》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试