You are trying to use Theme.AppCompat.Light
theme which is a library project. You have to reference this library project to your project.
Now, at first, check that you have installed this library project as follows…
Go Window–>Android SDK Manager then a window named Android SDK Manager will appear as below.
If the Android Support Library
is not installed then install it. You can see more information about Android Support Library
setup from the below Android Developer site.
After Android Support Library
setup completion, reference the library to your project from this path…
android-sdk/extras/android/support/v7/appcompat
To reference, follow these steps:
- File->Import (android-sdk\extras\android\support\v7). Choose “appcompat“
- Project-> properties->Android. In the section library “Add” and choose “appCompat“
Now, clean and build your project and run it. I think after all of these, your problem will be solved.