I have recently created a library Jar file that I imported in my Android project. I am able to call functions and use classes that are present in this Jar file, but Android
This was always happening to me after switching branches on my current project: a lot of non-sense erros being reported by the IDE.
The solution is to modify and force a build.gradle synchronization.
build.gradle