Skip to content Skip to sidebar Skip to footer

The Getactionbar Method Returns Null

I'm just getting started with Android development and I'm following the tutorials by Google. I have a problem with action bars, where the getActionBar method returns null, although

Solution 1:

For AppCompat v21:

All of your Activities must extend from ActionBarActivity

You then use getSupportActionBar() to retrieve the Action Bar.

Post a Comment for "The Getactionbar Method Returns Null"