I am new to Android programming. I have installed Android Studio 1.2.1.1
.
I created a new project with min SDK = API 17
and target SDK = API 22
.
Studio automatically extends MainActivity
etc. with ActionBarActivity
even through this is deprecated.
I have done some reading and now know how to change the code to use "extends Activity" or even "extends AppCompatActivity".
Why is Android Studio using this? I am not even trying to build for very old SDK versions.
If you update to the Canary version, it will use
AppCompatActivity
.