Status Update
Comments
hu...@google.com <hu...@google.com>
bi...@google.com <bi...@google.com>
je...@gmail.com <je...@gmail.com> #2
enableUnitTestCoverage = false
enableAndroidTestCoverage false
Thinks started to work again.
But for what it is worth - the error message could have been more helpful.
bi...@google.com <bi...@google.com> #3
Well the error message is that it tried to configure jacoco task and failed, so it works for you because you disabled the feature.
So the error message is indicative of a bigger problem. Oviously, 8.2 is pretty old for us, not sure you are interested in trying 8.8.
The easiest would be to have a project reproducing the issue, if that's possible, we'll look into it.
bi...@google.com <bi...@google.com> #4
Unfortunately we haven't had the resources to keep things up to date for a long time - and now every possible problem is just piling up...
I'll get back once we manage to upgrade to 8.8...
al...@jetbrains.com <al...@jetbrains.com> #5
Hi,
I've tried opening the attached project with:
-
Android Studio Ladybug Feature Drop | 2024.2.2 Patch 2
Build#AI-242.23726.103.2422.13103373
, built on February 21, 2025 -
Android Studio Meerkat Feature Drop | 2024.3.2 Canary 7
Build#AI-243.24978.46.2432.13133389
, built on February 27, 2025 -
IntelliJ IDEA 2025.1 EAP
Build#IU-251.23536.34
, built on February 27, 2025
And I’m seeing the same configuration issues everywhere.
Unfortunately, I have no idea why you're not encountering the same problem.
bi...@google.com <bi...@google.com> #6
Did you remove .gradle/configuration-cache
under the root project directory before sync?
al...@jetbrains.com <al...@jetbrains.com> #7
Did you remove .gradle/configuration-cache under the root project directory before sync?
Yes, I removed .gradle entirely. Can the issue depend on OS version? Mine is Windows 11 Pro 24H2.
al...@jetbrains.com <al...@jetbrains.com> #8
Build scan:
I tried to remove .gradle/caches, invalidate caches in Android Studio, reinstall Android SDK, but nothing helped.
al...@jetbrains.com <al...@jetbrains.com> #9
Today, I completely removed Android Studio and manually cleaned up the directory: C:\Users\username\AppData\Roaming\Google\AndroidStudio...
After this cleanup, I no longer see the described errors in Android Studio. However, the issue still persists in IntelliJ IDEA.
It seems that in this case, I should create a separate ticket in JB YouTrack:
I will leave an additional comment here with the link after creating the ticket.
Description
Environment
Description
When using an isolated project (org.gradle.unsafe.isolated-projects=true) setup with the following structure:
app
(withcom.android.application
)lib
(withcom.android.library
)The
app
module depends onlib
via:During sync, the following error occurs:
This issue causes configuration cache problems. The sample of the project and configuration cache report have been attached.
⚠️Note
The problem doesn't occur during the build of the project, only while syncing.