In my Android Studio project, I get warnings like this - stating there's a newer version available. (gson: using 2.3.1 but 2.4 is available)
But when I then update my gradle file to use 2.4 instead:
compile 'com.google.code.gson:gson:2.4'
I get the error that this cannot be resolved:
(I also tried 2.4.0 without any improvement)
So - can anybody explain to me, why the new version is offered, but cannot be resolved? What am I missing?
Thanks!