Monday, August 5, 2019

Gradle sync is needed after replacing AAR file dependencies

Today I was working with an Android library dependency stored in an AAR file rather than fetched from a repository. I found strange behavior after replacing the AAR: it was like the library's code didn't match its Android resources even though inspecting the AAR showed it was correct. Things started being reasonable again after doing File | Sync Project with Gradle Files.

No comments:

Post a Comment