0
Rogerio, which version of Android Studio? Canary? what can happen sometimes is your app works because Android Studio has something cached that makes it work or as Voce says it’s all right, just the wrong message, sometimes it happens that the cache of Android Studio has something wrong. If Voce does a Build -> Clean Project and after it is finished does a Build -> Rebuild Project not solve? I would also try a File -> Invalidate cache / Restart. When I change branches a lot in git and there is a difference in dependency or Resource versions, sometimes mine gets problems that look like yours. I always use the latest Canary build so I expect some small problems like.
"File -> Invalidate cache / Restart" worked! Although it didn’t affect the application, I would always see what the error was and remember that "it was nothing". Thanks!
– Rogerio Santos