Android Studio 3.3 Beta 1 发布了,这是 3.3 系列的首个测试版。本次更新包括一些错误修复和下面的行为更改:
CPU Profiler —— 新的实时分配内存跟踪选项
为了在分析时提高应用程序性能,现在可以在运行 API 级别 26 或更高级别的设备上选择实时内存分配跟踪模式。从Full(所有对象内存分配),Sampled(分配的定期采样)或 None 中选择。
Bug 修复
The Project window was occasionally crashing when sorting files by type.
CMake was throwing a NullPointerException
when enabling Only sync the active variant (for current project) experimental feature.
D8 was incorrectly failing to compile with the following error message: com.android.tools.r8.errors.Unreachable: Unexpected type adjustment from java.lang.Object to com.android.transport.model.entity.ApproveDelegator[]
此外,Android Studio 3.4 Canary 1 也已发布,详情请点此查看。