If you are looking for the solution in Android Studio :
- Right click on your app
- Open Module Settings
- Select Dependencies tab
- Click on green + symbol which is on the right side
- Select Library Dependency
- Choose appcompat-v7 from list
If you are looking for the solution in Android Studio :