Status Update
Comments
ga...@google.com <ga...@google.com> #2
From the logs:
2023-12-06 16:34:17,743 [89868589] INFO - #com.android.tools.idea.gradle.project.build.invoker.GradleBuildInvoker - About to execute Gradle tasks: [...]
do you see the same issue?
an...@gmail.com <an...@gmail.com> #3
Unfortunately, yes...
an...@gmail.com <an...@gmail.com> #4
I see some namespaces warnings Namespace '<redacted>.versioncheck' is used in multiple modules and/or libraries...
could it be related?
an...@gmail.com <an...@gmail.com> #5
Nvm, it's not 😅
an...@gmail.com <an...@gmail.com> #6
How can I assist?
ga...@google.com <ga...@google.com> #7
Thanks for reporting on required info. The namespace-related warning should not really matter to this problem.
Because this reproduces from the command line, can you please file an issue against Gradle (
Thanks!
an...@gmail.com <an...@gmail.com> #8 Restricted+
an...@gmail.com <an...@gmail.com> #9
Will you do me the courtesy, please, to remove/restrict the
ga...@google.com <ga...@google.com> #10
Re #9:
an...@gmail.com <an...@gmail.com> #11
Superb! Thank you! Are you able to read #8? Idk how restricted vs restricted+ actually works...
ga...@google.com <ga...@google.com> #12
Sadly not, I think I should be able to read it if you reduce access to restricted
(which should also avoid having it accessible publicly)?
an...@gmail.com <an...@gmail.com> #13 Restricted
an...@gmail.com <an...@gmail.com> #14
Sent again with restricted
ga...@google.com <ga...@google.com> #15
I have access now, thanks.
Issue clean
and assemble
tasks in the invocation was tripping Gradle, causing the error. However, from logs in Iguana, I can see that all clean
tasks are invoked first, followed by assemble
&friends. Given that, this does look like a Gradle issue to me.
an...@gmail.com <an...@gmail.com> #16
The plot thickens... Sorry for wasting your time, had no idea you're the same person. Okay, I'll open a gradle issue, I just need to reproduce it first with an open source project or create a new one with my current structure
an...@gmail.com <an...@gmail.com> #17
It's reproducible in nowinandroid
, main
branch, but now, if I use the Rebuild Project
complex command in terminal I get this <attached> even though :app:clean
task does exist...Disabled configuration-cache and it's the same thing...
I'll open the github issue tomorrow...I'm trying to create a reproducer
repo first
he...@reaktor.com <he...@reaktor.com> #18
I have this same issue after upgrading to Android Studio Iguana | 2023.2.1. It seems the problem lies in that the new Android Studio adds a :plugins:testClasses
task to the rebuild task list (which the previous didn't).
Our project configuration has a plugins
module that is pluginManagement { includeBuild("plugins") }
'ed in settings.gradle.kts
and for some reason Gradle chokes on it.
However I discovered that I can work around the issue by defining gradle.startParameter.excludedTaskNames.addAll(listOf(":plugins:testClasses"))
in settings.gradle.kts
, which reverts the breaking task list change.
s....@cue-health.me <s....@cue-health.me> #19
s....@cue-health.me <s....@cue-health.me> #20
ma...@gmail.com <ma...@gmail.com> #21
I've created a new ticket for the buildSrc issue -
ma...@gmail.com <ma...@gmail.com> #22
za...@gmail.com <za...@gmail.com> #23
lm...@gmail.com <lm...@gmail.com> #24
This is not a gradle issue because ./gradlew clean
and ./gradlew assembleDebug
are working from the command line.
Adding this line to the top of my settings.gradle.kts also worked for me as shown in the above
gradle.startParameter.excludedTaskNames.addAll(listOf(":build-logic:convention:testClasses"))
I created a new project based off of the multimodule sample from architecture samples:
which is why my folder with convention plugins is also named build-logic
and therefore the adding the above line worked for me.
Addressing these issues in a timely manner helps us Android devs take on recommended changes like starting to use Kotlin DSL. Thanks.
lm...@gmail.com <lm...@gmail.com> #25
Attached is MyApplication.zip, which is literally just a new project but also I've added an AndroidApplicationConventionPlugin
if you want to take a look. It only Rebuilds with the line I have listed in the above comment.
do...@gmail.com <do...@gmail.com> #26
t....@gmail.com <t....@gmail.com> #27
je...@gmail.com <je...@gmail.com> #28
p-...@izzi.mx <p-...@izzi.mx> #29
That workaround was giving me an error when I enabled the configuration cache, so I'm using this now:
import org.gradle.api.internal.StartParameterInternal
if (!(gradle.startParameter as StartParameterInternal).configurationCache.get()) {
gradle.startParameter.excludedTaskNames.addAll(listOf(":build-logic:convention:testClasses"))
}
xa...@gmail.com <xa...@gmail.com> #30
Android Studio Ladybug Feature Drop | 2024.2.2 Patch 1
Build #AI-242.23726.103.2422.13016713, built on February 6, 2025
Description
####################################################
Please provide all of the following information, otherwise we may not be able to route your bug report.
####################################################
1. Describe the bug or issue that you're seeing.
`Rebuild Project` returns the following error:
"Unable to make progress running work. There are items queued for execution but none of them can be started"
2. Attach log files from Android Studio
Attached.
3. If you know what they are, write the steps to reproduce:
3A. Clean project
3B. Build -> Rebuild Project
3C. "Unable to make progress running work. There are items queued for execution but none of them can be started" error
In addition to logs, please attach a screenshot or recording that illustrates the problem.
For more information on how to get your bug routed quickly, see
Build: AI-232.10227.8.2321.11161997, 202311301914
AI-232.10227.8.2321.11161997, JRE 17.0.9+0-17.0.9b1000.46-11084592x64 JetBrains s.r.o., OS Mac OS X(aarch64) v13.6.2, screens 2992.0x1934.0, 7680.0x3240.0; Retina
AS: Iguana | 2023.2.1 Canary 16
Kotlin plugin: 232-1.9.0-release-358-AS10227.8.2321.11161997
Android Gradle Plugin: 8.3.0-alpha16
Gradle: 8.4
Gradle JDK: Azul Zulu version 17.0.4
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
```