No resource found that matches the given name '@style/Theme.AppCompat.Light'

后端 未结 4 1814
春和景丽
春和景丽 2020-11-22 14:25

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 matche         


        
4条回答
  •  无人共我
    2020-11-22 14:59

    Below are the steps you can try it out to resolve the issue: -

    1. Provide reference of AppCompat Library into your project.
    2. If option 1 doesn't solve the issue then you can try to change the style.xml file to below code.
     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

提交回复
热议问题