Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to make progress running work - Android Studio

Android Studio Iguana | In the 2023.2.1 Canary 7 version, this error occurs at the end of the build.

For example, it can be verified that this is happening in the Now Android project created by Google.

Project

The relevant bug has been fixed in previous versions, but it continues in experimental versions.

Issue Link

The Error Message

FAILURE: Build failed with an exception.
* What went wrong:
Unable to make progress running work. There are items queued for execution but none of them can be started

Is there a known solution?

like image 813
snorlax Avatar asked Dec 05 '25 15:12

snorlax


1 Answers

According to these references, there is a workaround. (issuetracker - medium)

Adding the following line to the top-level gradle settings file fixed the problem for me.

// If the project has buildSrc module.
gradle.startParameter.excludedTaskNames.addAll(listOf(":buildSrc:testClasses"))

// If the project has build-logic module.
gradle.startParameter.excludedTaskNames.addAll(listOf(":build-logic:testClasses"))

// If the project has build-logic module with convention module. (for example: https://github.com/android/nowinandroid/tree/main/build-logic)
gradle.startParameter.excludedTaskNames.addAll(listOf(":build-logic:convention:testClasses"))

Thanks to jaga for the reference link.

like image 139
Tunahan Avatar answered Dec 07 '25 05:12

Tunahan