user1727257 user1727257 - 1 year ago 134
Android Question is deprecated is deprecated, what does this mean and how do i solve ths issue. I am new to coding.

public class MainActivity extends ActionBarActivity. the word "ActionBarActivity" has a line across the word , why is this ?



Answer Source


instead of (DEPRECATED)

and extends AppCompatActivity

    public myClass extends AppCompatActivity{

if you have the message:

cannot resolve symbol AppCompatActivity

You have to update to the last support library in your Android SDK Manager

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download