Android overhauled the CPU Profiler UI in Android Studio 4.0, to provide a more intuitive recording workflow. Based on your feedback we continued to make changes and added more features in 4.1. However, Android studio 4.1 has issues that need to be solved,More info visit:android app development course
Android对Android Studio 4.0中的CPU Profiler UI进行了大修,以提供更直观的记录工作流程。 根据您的反馈,我们继续进行更改,并在4.1中添加了更多功能。 但是,Android Studio 4.1存在一些需要解决的问题,更多信息,请访问: Android应用程序开发课程
Android studio 4.1 rundown of known issues
Android Studio 4.1已知问题的概要
This section describes current known issues in an overview of Android Studio 4.1.
本节概述了Android Studio 4.1中的当前已知问题。
Patches which do not function in Canary 4.1 10
在Canary 4.1 10中不起作用的补丁
Patches are currently broken to Android Studio 4.1 Canary 10. To upgrade Android Studio 4.1 to a newer version, shut down Android Studio and then download and install the latest set.
当前已将补丁修补到Android Studio 4.1 Canary10。要将Android Studio 4.1升级到较新版本,请关闭Android Studio,然后下载并安装最新的补丁。
This issue was fixed in Beta 1 of Android Studio 4.1.
此问题已在Android Studio 4.1的Beta 1中修复。
Workaround for missing canary module Kotlin 9
缺少金丝雀模块Kotlin 9的变通办法
You can note the following error in Android Studio 4.1 Canary 9 when you first launch Android Studio after upgrading.
升级后首次启动Android Studio时,您会在Android Studio 4.1 Canary 9中注意到以下错误。
Lack of critical org.jetbrains.android plug-in
缺少关键的org.jetbrains.android插件
This can occur when importing the settings from an earlier version of Android Studio. It typically means you have a Kotlin plugin installed locally, which is not compatible with the new IDE.
从早期版本的Android Studio导入设置时,可能会发生这种情况。 这通常意味着您在本地安装了Kotlin插件,该插件与新的IDE不兼容。
To fix this problem, delete the Kotlin directory from the locations below:
要解决此问题,请从以下位置删除Kotlin目录:
~/.local / share / Google / AndroidStudioPreview4.1 Linux:
〜/ .local / share / Google / AndroidStudioPreview4.1 Linux:
C:\Users\UserName\AppData\Roaming\Google\AndroidStudioPreview4.1 Windows:
C:\ Users \ UserName \ AppData \ Roaming \ Google \ AndroidStudioPreview4.1 Windows:
MacOS: ~/Library / Use / Google / AndroidStudioPreview4.1
MacOS:〜/库/使用/Google/AndroidStudioPreview4.1
Since there is no Kotlin plugin currently available from JetBrains that is compatible with Canary 9, we have bundled our own Kotlin plugin with the Canary 9 update, so you don’t need to install a Kotlin plug