please help me?
Try using getSupportActionBar() instead.
I assume the library has been built for backwards support with Android, so it's using the Support library.