Android Studio: Snapshot Dependencies Don’t Update properly

In my case, use changing = true not work for me. But configure cache changing modules solve my problem. Sample code below, add in build.gradle file:

configurations.all {
    // Don't cache changing modules at all.
    resolutionStrategy.cacheChangingModulesFor 0, 'seconds'


You can also put a flag called “changing” that will trigger Gradle to always pull the latest, for example:

compile ('my.program.commons:my-program-commons:[email protected]') {
 changing = true;

You need to configure the cache duration, by default gradle won’t look for updates for 24 hours:

Leave a Comment