Transferred from: http://jingyan.baidu.com/article/c910274be7536acd361d2dca.html
Transferred from: http://blog.sina.com.cn/s/blog_3e28c8a50102v7ry.html
Detailed
1, Res/values/styles.xml
Check the error points under Res/values/styles.xml.
<style name= "Appbasetheme" parent= "Theme.AppCompat.Light" >
Change this to
<style name= "Appbasetheme" parent= "Android:Theme.Light" >
2.
Path: Res/values-11/styles.xml
<style name= "Appbasetheme" parent= "Theme.AppCompat.Light" >
Change this to
<style name= "Appbasetheme" parent= "Android:Theme.Holo.Light" >
Path: Res/values-14/styles.xml
<style name= "Appbasetheme" parent= "Theme.AppCompat.Light.DarkActionBar" >
Change this to
<style name= "Appbasetheme" parent= "Android:Theme.Holo.Light.DarkActionBar" >
3, Res/menu/main.xml
<item
Android:id= "@+id/action_settings"
android:orderincategory= "100"
android:title= "@string/action_settings"
app:showasaction= "Never"/>
Replace this app with Android
<item
Android:id= "@+id/action_settings"
android:orderincategory= "100"
android:title= "@string/action_settings"
android:showasaction= "Never"/>
4, in the properties of the project---Java Build Path---Projects add appcompat_v7 project
Android-style problems