android - ActionBarActivity is deprecated


Translate

This question already has an answer here:



All Answers
  • Translate

    Since the version 22.1.0, the class ActionBarActivity is deprecated. You should use AppCompatActivity.

    Read here and here for more information.


  • Translate

    According to this video of Android Developers you should only make two changes

    enter image description here


  • Translate

    android developers documentation says : "Updated the AppCompatActivity as the base class for activities that use the support library action bar features. This class replaces the deprecated ActionBarActivity."

    checkout changes for Android Support Library, revision 22.1.0 (April 2015)