引用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就可以了 然后清除下…
改下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…
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'. 这个错误表明缺少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…
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 studio并且安装其它需要的SDK或组件后,根据向导生成新的项目, 编译或运行时可能会出现下面的错误: Error:Error retrieving parent for item: No resource found that matches the given name “xxxxxxxxxx” 不大确定其它人的同样错误是否与本人是同一原因,在本人环境中的问题是“build.gradle(Module:app)”中的配置版本过高的问题. 本人生成项目时,目标andro…
问题: res 文件夹下的 values 下的 styles.xml <style name="Sherlock.Light.NoActionBar" parent="Theme.Sherlock.Light.NoActionBar"> <item name="actionMenuTextColor">#FFF</item> <item name="android:actionMenuTextC…
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…