Gradle tasks are not showing in the gradle tool window in Android Studio 4.2

OK, I found why I got this behaviour in android studio 4.2.

It is intended behaviour. I found the answer in this post: https://issuetracker.google.com/issues/185420705.

Gradle task list is large and slow to populate in Android projects.
This feature by default is disabled for performance reasons. You can
re-enable it in: Settings | Experimental | Do not build Gradle task
list during Gradle sync.

Reload the Gradle project by clicking the “Sync Project with gradle Files” icon and the tasks will appear.

It could be cool that this experimental change is put in the release note of android studio 4.2.

enter image description here

enter image description here

Leave a Comment