R文件丢失解决方案 报错Error retrieving parent for item: No resource found that matches the given name ‘Theme.AppCompat.Light’
本次R文件丢失,报错是这样的Error retrieving parent for item: No resource found that matches the given name ‘Theme.AppCompat.Light’.
这是主题样式没有找到相应的支持库。
将
name=”AppBaseTheme” parent=”Theme.AppCompat.Light”
替换成
name=”AppBaseTheme” parent=”android:Theme.Light”
即可解决。