Android - 错误:"No resource found that matches the given name android:Theme.Material" 本文地址: http://blog.csdn.net/caroline_wendy 错误: "No resource found that matches the given name 'android:Theme.Material.Light.DarkActionBar'" 原因是: build.g…
一.问题 今天准备使用v7包中的ToolBar来用,但是在styles.xml中引入Theme.AppCompat.Light的时候,报错“no resource found that matches the given name 'android:Theme.AppCompat.Light'”. 二.解决 1.首先搜索了对应的报错,有很多回答需要导入android-support-v7-appcompat包,引入了几次,还是没有效果.终于功夫不负有心人,偶然看到一个博客中提到,需要将工程和an…
问题现象:在看一个实例中写到的,提示如下: [PAClient Error] Error: E2312 C:\Users\zhujq-a\Desktop\Android实例之实现扫描二维码并生成二维码\Android\Debug\Project1\AndroidManifest.xml:53: error: Error: No resource found that matches the given name (at 'theme' with value '@style/CaptureThem…
当你的androidAPI 由2.1版本更换成2.2版本时:  res/vavlues/styles.xml中使用的android:WindowTitle会报以下异常, error: Error retrieving parent for item: No resource found that matches the given name 'android:WindowTitle'. 从而导致我们的程序无法编译通过.   原因: android2.1中的某些API(包括类方法或者XML属性)更…
引用appcompat 类库提示 error: Error retrieving parent for item: No resource found that  matches the given name 'android:Widget.Material.ActionButton'. 引用地址 adt-bundle-windows-x86-20140702\sdk\extras\android\support\v7\appcompat 解决办法刚项目SDK改为6.0就可以了 然后清除下…
错误提示:error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. 如图: watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="…
新手上路,还希望大神多多照顾,刚自学android,遇到很多困难.其中就有这个问题,不知道你们遇到过没有,反正我是很头痛. No resource found that matches the given name (at 'src' with value '@drawable/img1'). android:src="@drawable/img1",明明就是这样写的,但是就是不对,一直提示是R文件丢失,很是郁闷,clean代码也是不行,最后在网上终于找到为什么错误了,感觉太坑了. 本…
解决Android项目No resource found that matches the given name (at 'text' with value '@string/hello'). 如图,此时需在res/values/strings.xml中resource中加 <string name="hello"></string> 我的strings.xml代码如下 <?xml version="1.0" encoding=&quo…
error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.,appcompatv7 error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. 这个错误表明缺少Theme.…
1:首先新建空白工作区 2:先import appcompat_v7 appcompat_v7在一个类似这样的地方, C:\mywork\android\android-sdk-windows\extras\android\support\v7\appcompat 然后用import进来,像如下操作: 确保sdk是5.0及以上 3:再import原来的工程进来 4:add lib,如下 此问题解决.…