Assigned
Status Update
Comments
gh...@google.com <gh...@google.com>
je...@google.com <je...@google.com>
cm...@google.com <cm...@google.com> #2
Disregard - after adding
enableUnitTestCoverage = false
enableAndroidTestCoverage false
Thinks started to work again.
But for what it is worth - the error message could have been more helpful.
enableUnitTestCoverage = false
enableAndroidTestCoverage false
Thinks started to work again.
But for what it is worth - the error message could have been more helpful.
Description
DESCRIBE THE ISSUE IN DETAIL:
Enabling Gradle Dependency Locking and then performing a sync in Android Studio results in an error.
Dependency Locking Configuration:
After this configuration,
./gradlew app:dependencies --write-locks
is executed to generate thegradle.lockfile
.Error:
With this setup, running a Gradle sync in Android Studio produces the following error:
Additional Information:
Manually adding
empty=debugRuntimeClasspathCopy,releaseRuntimeClasspathCopy
to thegradle.lockfile
resolves the error.STEPS TO REPRODUCE:
./gradlew app:dependencies --write-locks
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
A sample project that reproduces this issue is attached.
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac)
IMPORTANT: Please readhttps://developer.android.com/studio/report-bugs.html carefully and supply
all required information.
Studio Build: Build #AI-242.23726.103.2422.13016713, built on February 6, 2025
Version of Gradle Plugin: 8.8.1
Version of Gradle: 8.10.2
Version of Java: 11
OS: macOS