问题:
android studio>android studio 4.2.1版本更新以后AS右侧工具栏Gradle Task列表不显示,这里需要手动去设置
解决办法:
android studio>android studio 2024.2.1 Patch 2版本以前的版本设置:依次打开 File -> Settings -> Experimental 选项,取消勾选 Do not build Gradle task list during Gradle sync 选项
android studio>android studio 2024.2.1 Patch 2版本设置:依次打开 File -> Settings -> Experimental 选项,勾选 Configure all Gradle tasks during Gradle Sync (this can make Gradle Sync slower)选项
设置好保存好后执行:Sync Project with Gradle Files 右侧有会显示Task列表