在导入错误Android的支持-V7-应用程序兼容性错误:错误:未找到资源 [英] Error while importing android-support-v7-appcompat error: Error: No resource found

查看:161
本文介绍了在导入错误Android的支持-V7-应用程序兼容性错误:错误:未找到资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已按照./sdk/docs/tool​​s/support-library/setup.html但是当进口V7-应用程序兼容性工作区将发现eaxct方法,它给在Android清单中的错误文件

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

错误:错误:没有资源的发现,给定的名称相匹配(在与价值的主题''@android:风格/
 Theme.AppCompat')

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

推荐答案

好吧发现了一种方法做到这一点。 ..
我改变了V7-应用程序兼容性项目(工作区)的目标SDK版本到最新版本
然后我点击右侧的项目关闭,然后再次打开它,错误不见了,奇怪,但它的工作.....

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.....

这篇关于在导入错误Android的支持-V7-应用程序兼容性错误:错误:未找到资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆