I have been on this problem for a couple hours. After downloading a repository from github, the only error in any .xml file is:
No resource found that matches the given name '@style/Theme.AppCompat.Light'
The code is very straightforward, but there is not one straightforward answer I have found, on how to alleviate the error.
here is the code (in file res/values/styles.xml):
<style name="AppBaseTheme" parent="@style/Theme.AppCompat.Light">
<!-- API 14 theme customizations can go here. -->
</style>
The project is located at: https://github.com/erikswed/InstaChatX I am on Windows, using Eclipse Kepler
This question is related to
android
android-appcompat
The steps described above do work, however I've encountered this problem on IntelliJ IDEA and have found that I'm having these problems with existing projects and the only solution is to remove the 'appcompat' module (not the library) and re-import it.
Below are the steps you can try it out to resolve the issue: -
parent="android:Theme.Holo.Light"
instead.
parent="android:Theme.AppCompat.Light"
But option 2 will require minimum sdk version 14.
Hope this will help !
Summved
If you are looking for the solution in Android Studio :
Source: Stackoverflow.com