The first Android project Java reported all errors, how to solve it?


is your sdk version a little high? this ActionBarActivity seems to be out of date. You can manually change it to Activity or AppCompatActivity.


try one of the following methods
1. Save all
2. Remove override
3. Check whether the subclass method matches the parent class method type with the same name (parameter and return value)

Menu