Styles.xml <style name= "Appbasetheme" parent= "Theme.AppCompat.Light" > hints the following error, which is a version issue.
Error:error Retrieving parent for item:no Resource found that matches the given name
' Theme.AppCompat.Light '.
Workaround:
Open any of the. java files in Eclipse, enter
Android. R.style.At this point you will see a list of hints, take a closer look, and then compare them to see which one is closest to the original. Replace the underscore with a "." Can be.
Will
<style name= "Appbasetheme" parent= "Theme.AppCompat.Light" >
Switch
<style name= "Appbasetheme" parent= "Android:Theme.Light" >
Similarly, the
<style name= "Appbasetheme" parent= "Theme.AppCompat.Light.DarkActionBar" > Changed to
<style name= "Appbasetheme" parent= "Android:Theme.Holo.Light.DarkActionBar" >
Solutions for Theme.AppCompat.Light in Android development