I'm trying to use the ShowcaseView library, and for some reason after making the reference to this library, I'm getting a following undefined method errors:
The method getActionView(MenuItem) is undefined for the type MenuItemCompat
The method build() is undefined for the type NotificationCompat.Builder
in my project. Those classes are part of the support-library-v4
. As soon as I remove the referencing to this project from the: Properties->Library
window, the errors go away.
Now I have to say that there is another project in my workspace that uses this
library and working fine (The sample project of ShowcaseView
), but my other project is not that lucky.
What could be the cause of that?