Error while importing android-support-v7-appcompat error: Error: No resource found

南笙酒味 提交于 2019-12-08 01:50:37

问题


I have followed the eaxct method found at ./sdk/docs/tools/support-library/setup.html but when import v7-appcompat into workspace , it gives the error in the Android Manifest File

error: Error: No resource found that matches the given name (at 'theme' with value '@android:style/ Theme.AppCompat').


回答1:


Ok found a way do it. .. I changed the v7-appcompat project's(in the workspace) target sdk version to latest version, then i right clicked the project closed it , and then opened it again , and the error was gone , strange but it worked.....




回答2:


you need adding support v7 project as library project to your project or using Gradle to handle it .




回答3:


Even i have come across for the same problem in my project, first update the SDK for available updates,once SDK is updated restart the eclipse, thats it ,working fine for me now



来源:https://stackoverflow.com/questions/23026670/error-while-importing-android-support-v7-appcompat-error-error-no-resource-fou

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!