error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. 这个错误表明缺少Theme.AppCompat.Light这个主题,而这个主题在appcompat-v7里面,所以要解决这个问题,先下载一个appcompat-v7库,再import. import以后,再把该库添加到出错的工程中.步骤: (1)右键单击项目,选择Proper…
一.概述 近期刚接手了一个项目,开发工具为eclipse,由于版本较低,且考虑到如果转android studio项目的话,会其他人的维护带来困难,所以想着还是维护项目原来的开发环境吧. 但是导入项目后,始终发现缺少v7包和v4包. 网上查找后,看到有一篇文章介绍到: support v4能到导入在sdk中的相应jar包,而support v6不行. 起初按照文章介绍一步一步照做. 通过导入sdk目录下的support-v7包(copy to workspace),然后设置成is library…
If you are looking for the solution in Android Studio : Right click on your app Open Module Settings Select Dependencies tab Click on green + symbol which is on the right side Select Library Dependency Choose appcompat-v7 from list…
问题: res 文件夹下的 values 下的 styles.xml <style name="Sherlock.Light.NoActionBar" parent="Theme.Sherlock.Light.NoActionBar"> <item name="actionMenuTextColor">#FFF</item> <item name="android:actionMenuTextC…
styles.xml中<style name="AppBaseTheme" parent="Theme.AppCompat.Light">提示如下错误,这是版本问题. error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. 解决方法: 在Eclipse中打开任意一个.java文件,输入  …
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.…
错误提示: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项目时出错,error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. 问题描述: 创建一个Android应用项目时,需指定其适用的SDK版本,默认如下图: 最低适用版本为:API 8: Android 2.2 (Froyo) 目标版本为:API 21: Android 4.X (L Preview) 编译版本为:A…
引用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就可以了 然后清除下…
安装好android studio并且安装其它需要的SDK或组件后,根据向导生成新的项目, 编译或运行时可能会出现下面的错误: Error:Error retrieving parent for item: No resource found that matches the given name “xxxxxxxxxx” 不大确定其它人的同样错误是否与本人是同一原因,在本人环境中的问题是“build.gradle(Module:app)”中的配置版本过高的问题. 本人生成项目时,目标andro…
No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案 首先这个问题的产生是由于缺少Theme.AppCompat.Light这个主题产生的,而这个主题 的是存在于android\support\appcompat-v7支持库中的,注意不是jar包. No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方…
关于为何出现No resource found that matches the given name ‘Theme.AppCompat.Light’的原因 这边博客已经写的很清楚了 大家可以参考一下 http://www.jianshu.com/p/6ad7864e005e 在解决该异常时遇到了一些问题在这里补充一下 1.eclipse的SDK manager没有android support library  网上给出的解决方案都是利用更换镜像源来解决的,可是现在baidu能找到的镜像中都不…
转载:http://www.360doc.com/content/15/0316/15/9200790_455576135.shtml 由于我在配置安卓环境时也碰到了类似问题,用这篇博客解决了主要问题,我在本文尾部写了另一个问题的解决办法 微信分享:   No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案 ╰╮Hana╭ 发表于 2014-9-30 18:35:37 浏览(262527) 本…
改下build.gradle文件,将里面的compileSdkVersion改为23即可 apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.2" defaultConfig { applicationId "com.example.yanlei.mytk" minSdkVersion 15 targetSdkVersion 23…
一.stsckoverflow http://stackoverflow.com/questions/17870881/cant-find-theme-appcompat-light-for-new-android-actionbar-support Solution 1: AppCompat is a library project. You need to reference the library project in your android project. Check the top…
eclipse在新建andorid工程的时候出现找不到AppCompat.Light主题的问题,这是因为缺少支持低版本的v7包所致, 这个不是jar包,在sdk的extras->andorid->support中找不到v7支持包,打开SDK Manager,重新下载这个文件 如果下载v7 失败那么直接上网下载一个新的v7包放到该目录下重写打开eclipse就好了 下载地址:http://pan.baidu.com/s/1jHAIKsQ 另外打开已经存在的工程可以导入支持包具体: http://…
被这个问题困扰了好久…… 错误如下: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Sherlock.Light.NoActionBar'. 如图所示: 寻找在路上…… 原因是没有导入相应的库,看来好久没搞 Android,生疏了………
一.问题 今天准备使用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…
新建项目报错,不知道为什么,以前从未出现过的错误,把sdk更新之后,出现莫名错误,自己也是一知半解,在网上找了好久的错误,终于在一个english网站找到了解决方法,soga,从未觉得english如此美好 错误信息如下 ....\appcompat_v7\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name…
原文网址:http://www.cnblogs.com/mbp-study/p/5268478.html 新建项目报错,不知道为什么,以前从未出现过的错误,把sdk更新之后,出现莫名错误,自己也是一知半解,在网上找了好久的错误,终于在一个english网站找到了解决方法,soga,从未觉得english如此美好 错误信息如下 ....\appcompat_v7\res\values-v21\styles_base.xml:75: error: Error retrieving parent fo…
解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题http://blog.csdn.net/u012336923/article/details/48289485 /路径/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values-v23/v…
当你的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属性)更…
今天在虚拟机上打开apache出现如下错误: [root@ShiGuang ~]# service httpd start (20014)Internal error: Error retrieving pid file logs/httpd.pid Remove it before continuing if it is corrupted. 其实这个错误就是因为Apache目录下的logs 子目录下的httpd.pid 文件内容是空的.这个文件是记录进程ID的文件.因为这个文件是空的,就无法…
1.错误描述 dijit.form.ComboBox TypeError:_4e is undefined                                            SearchMixin.js(第103行) Error:dojo.data.ItemFileWriteStore:Invalid item argument.                                            ItemFileWriteStore.js(第330行) 2…
1.问题 Error:Execution failed for task ':mergeBYODReleaseResources'.> /home/chenyu/Android_dev/sangfor/yangzhoushizhenghu/20161229_M7.3_R3/EMM/Source/Android/aWork/res/drawable-mdpi/LOGO.png: Error: 'L' is not a valid file-based resource name character…
问题: error: Error: No resource found that matches the given name (at 'icon' with value '@mipmap/Icon'). Phoneword E:\Phoneword\Phoneword\obj\Debug\android\manifest\AndroidManifest.xml 解决方法: Here's a workaround. Go into assemblyinfo.cs (it's in the Pro…
遇到error: Error: No resource found for attribute 'layout_scrollFlags' in package'包名' 这个问题时候刚開始自己也是感觉到奇怪,错误也即是下图 处理方法:就是把xmlns:app="http://schemas.android.com/apk/res-auto" 把res-auto换成自己的包名.不让它自己适应了,换成详细的. 换了之后报错就消失了 看下图 自己的报名就创建项目的时候的包名字.记不住的能够到A…
C:\DevelopSoft\workspace\appcompat_v7\res\values-v21\themes_base.xml:158: error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'. 找不到,因为如果你的v7或者你的工程的target=23,那么可能报这个错误.原因是,你的v7和你的target不匹配.也就是你的v7包,不是23对应的.…
一:insmod时候错误: 1:错误信息insmod: error inserting 'hello.ko': -1 Device or resource busy 2:原因:你的代码里面的设备号和系统已经存在的相冲突 3:查看系统的设备号: cat /proc/devices 查看和你的设备号有冲突的吗,注意要分开字符设备和块设备 4:解决,当然是你再换个设备号了. 二:rmmod 0:用rmmod -f也删除不掉的 1:查看当前gcc版本,命令:gcc  -v 2:ubuntu默认版本是4.…
因为close是mysql关键字 -- ::, DEBUG (BaseJdbcLogger.java:)- ==> Preparing: , -- ::, INFO (XmlBeanDefinitionReader.java:)- Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] -- ::, ERROR (CommonUtils…