Hi team, our configuration cache is being invalida...
# configuration-cache
m
Hi team, our configuration cache is being invalidated because of Android Studio and the Emulator We can only repro the following by hitting play from Android Studio. If we build with our emulator being closed, and then we open the emulator and build again, without any code changes, our configuration cache gets invalidated by saying
Calculating task graph as configuration cache cannot be reused because the set of Gradle properties has changed
By looking at the error message, we noticed that something in the set of
StartParams
changed from one build to the other. That is
android.injected.build.abi
, which was the only diff. The above is invalidating many of our local builds increasing our p50s. In most cases, the configuration phase needs to be executed again but the execution phase is
UP TO DATE
, making the configuration times slower than the actual execution. We are on Gradle 8.5 and AGP 8.2.2
e
Have you tried clearing the
Settings » Experimental » Optimize build for target device API level only
checkbox?
m
yes, it did not work.