Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
将Eclipse项目移到Android Studio中时报错:Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
解决方案:在项目结构中dependencies中引入com.android.support:appcompat-v7:23.2.1包。

本文介绍了一种常见问题——在Android Studio中导入Eclipse项目时出现的主题资源未找到错误。该错误通常涉及到Theme.AppCompat.Light.DarkActionBar。文章提供了一个简单的解决方案,即通过添加特定版本的appcompat-v7依赖来修复问题。
641

被折叠的 条评论
为什么被折叠?



