Zokirjon
10/26/2023, 12:09 PMCLOVIS
10/26/2023, 12:38 PM> Task foo:bar
> Task foo:foo UP-TO-DATE
> Task foo:oof
In this example, Gradle considered that foo:foo
was UP-TO-DATE. You can find them in the "build", "run" or "services" tab at the bottom-left, depending on how you run your app.
First, you should reproduce the problem you mentioned (gradle not recompiling when you thought it should have). Then, look at the executed tasks and find which ones are marked UP-TO-DATE when you think they shouldn't be.
Once you know which tasks are the problem, do it again with --info
(CLI analysis) or --scan
(HTML report analysis). Find the task you have a problem with, and it will say way it thinks it's up-to-date, then you can go from there.Zokirjon
10/27/2023, 6:40 AM./gradlew assembleDebug
command on the terminal, everything works fine. However, when I click the Run button in Android Studio, the app is not updated.CLOVIS
10/27/2023, 7:29 AM