Eclipse新建android application新建安卓项目出错错

新建New Android Application报错
[ 19:00:31 - HelloWorld] F:\eclipse\workspace\HelloWorld\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.[ 19:00:31 - HelloWorld] [ 19:00:31 - HelloWorld] F:\eclipse\workspace\HelloWorld\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.[ 19:00:31 - HelloWorld] [ 19:00:31 - HelloWorld] F:\eclipse\workspace\HelloWorld\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.[ 19:00:31 - HelloWorld] [ 19:01:17 - Test] F:\eclipse\workspace\Test\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.[ 19:01:17 - Test] [ 19:01:17 - Test] F:\eclipse\workspace\Test\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.[ 19:01:17 - Test] [ 19:01:17 - Test] F:\eclipse\workspace\Test\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.[ 19:01:17 - Test] [ 19:01:18 - appcompat_v7] WARNING: unable to write jarlist cache file F:\eclipse\workspace\appcompat_v7\bin\jarlist.cache[ 19:01:18 - appcompat_v7] WARNING: unable to write jarlist cache file F:\eclipse\workspace\appcompat_v7\bin\jarlist.cache请问该怎么解决呢?
试了一下clean project好像不行,删掉gen文件程序还还可以运行么??
写下你的评论...
Copyright (C)
All Rights Reserved | 京ICP备 号-2Android Eclipse项目导入常见错误
1.SDK版本不对应,你可以打开你项目中的project.properties文件,修改target=android-18(我这是18) ,将18改 & & 为14(其他都可以),再改回18会重新加载。
2.V4包不对应,重新导入你当前环境的V4包
3.如引用了项目类型的Lib,右键项目——&properties——&android——&查看项目是否引入,查看是否勾选Is library
4.styles.xml文件错误,可能用到了高版本的样式,下载高版本或将样式改为低版本
5.由于编码引起乱码导致程序错误,查看错误代码中是否包含乱码
6.由于jar包引起的错误,右键项目——&Bulid Path——&cfg&Bulid Path 检查jar包是否报错,重新添加。
7.还可以clean项目,fix项目
Android 项目导入常见错误
1.SDK版本不对应,你可以打开你项目中的project.properties文件,修改target=android-18(我这是18) ,将18改 为14(其他都可以),再改回18会重新加载。
2.V4包不对应,重新导入你当前环境的V4包
3.如引用了项目类型的Lib,右键项目——&properties——&android——
Android 常见错误处理
1.could not find &com.baidu.location& class
a.在Android项目根目录下新建一个libs文件夹;
b.把你需要的导入的第三方Jar包复制进这个目录;
c.在libs目录上点右键,选Bulid path –& Use as source folder
2. sdk manag
Android Studio(二)导入eclipse项目
一、导入单个Eclipse项目 1.在Eclipse中导出包含有gradle的项目,操作如下:
如果操作中出现finish按钮是灰色的,将force overriding强制覆盖勾选即可,如下图。
操作完成后,并不会复制该项目,而是在原项目的目录中增加了一些与gradle相关的文件,而这些正是导入现有项目到android studio
android项目导入eclipse最后不能点击next和finish
一般来说这个问题都是因为项目名称重复了,也就是说将要导入的这个项目的名称与eclipse中原本就存在的某一项目的名称重复了,注意是项目名称,如图中红色圈内所示。 最简单的解决方法就是先将eclipse中原来的项目删除,但是如果改项目还有用,那么只需要将eclipse中的项目删
android studio项目如何导入到eclipse中
下面是studio项目的目录结构:
打开src 目录
其实library的所有代码都在这里面了
而eclipse的结构是这样的
其实studio项目中java目录里面的代码对应的是eclispe项目中的src目录中的代码。而studio中src目录里面包括整个项目的所有代码包
eclipse新建android项目出现很多错误
如图所示:
出现了很多的错误,错误原因是,因为这里
一定要保证新建的时候,目标版本的sdl和最低版本的sdk要一致,否则会出现引入v7包,所以造成了以上的很多错误出现。
关于为什么会出现目标版本和最低版本 不一致的问题,我没有深究,可能是因为你的SDk tool里的版本过低,试着去更新一下
Eclipse里如何导入别人的android项目 最近要弄一个摄像头的app,然后在网上需找好心人下载了个完整的项目,是2013年写的,我现在的androidsdk是最新的,那个下载的版本不对,然后我把下载的项目加载到Eclipse里之后,项目里面的东西都没了,也加不进去,请问各位大神,我该怎么弄?在线等,急!
------解决思路---------------------- 项目区
android导入项目出现Originally defined here错误
如果android中使用eclipse ADT导入项目,文件中出现Originally defined here.这样的错误,说明文件中出现了重名的情况,检查之后删除掉重名的字符的其中的一个即可。
android常见错误分析1
这个问题虽然很简单,但是很容易让人家忽略了,,俗话说:“好记星不如烂笔头”。好,要相信古人总结的哲学 再此总结下错误的几个方面:
Binary xml file line 37 1.从字面意思上可以看出,是xml文件出错,而且是在第37行 2.有可能属性没有写对(漏写或者多写) 3.自定
Android常见错误处理(二)
考试月非常忙,终于考完试可以继续写代码学习了……还望各位小伙伴多多指教哈~
一、java.lang.OutOfMemoryError
对于JAVA来说,虚拟机上用于显示图片的堆只有64MB,在安卓里,每一个应用大约只有16MB的内存(参考training/displaying-bitmaps里)。也就是说,一旦我们使用类似于Bitmap这样的类去加载一张
eclipse平台 android项目前显示红色叉号 android level-19 4.4平台导入项目 问题解决办法
android level-19 4.4平台导入项目 项目前显示红色叉号 问题解决办法
android level-19 4.4平台导入项目 项目前显示红色叉号,检查项目中文件,文件前没有叉号,分析是项目导入的问题,或者是li
Android入门常见异常:Please ensure that adb is correctly located at ' ... '
clean 下工程,重启eclipse 在不行就重启机器。
mac 的android项目导入win7的eclipse遇到问题以及解决方法
mac 的android项目导入win7的eclipse遇到问题?
1, 点击项目的右键properties &&& Java BuildPath Libraries ,加入缺省的部分,如下图所示 : &nbs
Android下载文件常见错误解决方法
最近在学习Mars老师的Android开发课程,仿照/Laupaul/archive//2348293.html的代码来写应用,结果中间出了各种各样的问题,在这里总结一下:
1.java.lang.NullPointerException报错,android.os.Networ
android Eclipse执行项目提示错误: unable to execute dex: GC orerhead limit exceeded
Eclipse执行项目提示错误: unable to execute dex: GC orerhead limit exceeded
解决方法: 找到Eclipse安装目录的文件,\eclipse\eclipse.ini
Eclipse中android项目如何导入第三方jar包的正确步骤
我们之前在网上看到最多的是在Java Build Path里面Add jars ,Add External Jars或者Add Library,其实这些只是能确保编译没问题 ,但是当你运行程序的时候,就会报错。
比如这类的错误calss not found exception、error inflating class
android 支付宝集成 使用常见错误
1:自己最近在做了支付,遇到了一下问题先总结如下
Android快捷支付SDK Demo resultStatus={4001};memo={参数错误};result={}问题
分析:填写的支付宝pkcs8编码的私钥 有问题,或者对应的公钥没有上传至支付宝造成的。
后台处理的必须有这个步骤。上传公钥到支付宝
eclipse新建android项目出错 环境绝对配置正确
发现出现错误之后我从吃饭查到现在。。。clean过了
新建完就出错很郁闷
c盘的.android也删过了电脑也重启过了
就是这个部分出错
感觉就像是android.support.v17和R.java&nbsp
在eclipse的android项目中导入自己写的jar包问题 大家好,现在我是想这样做的,用java写一个类,再导出为jar包,然后再把jar导入到一个android项目中用,网上找了各种办法,都没有成功。现在能做到的是可以编译通过,但是运行应用时会提示:java.lang.NoClassDefFoundError。要怎么做
9个常见的Android开发错误及解决办法
9个常见的Android开发错误及解决办法: 1. 如果你的项目的R文件不见的话,可以试下改版本号在保存,R文件不见一般都是布局文本出错导致. 2. 布局文件不可以有大写字母 3. 抛出如下错误WARNING: Application does not specify an API level requirement!, 是由于没有指定users s
在eclipse的android的项目中导入自己用写的jar包疑问 大家好,现在我是想这样做的,用java写一个类,再导出为jar包,然后再把jar导入到一个android项目中用,网上找了各种办法,都没有成功。现在能做到的是可以编译通过,但是运行应用时会提示:java.lang.NoClassDefFoundError。要怎么做才可以实现我想要的呢?
【Android】——studio学习系列(一) 从eclipse导入工程
Android google官方出的IDE android studio 一直都在走bate版本,虽然如此,总觉得它比ADT更加靠谱。所以我也想用studio来开发滴。可项目一直都是eclipse的,所以今天先把eclipse项目导入到studio。
1、更新最新的ADT插件 都会的 2、选择
9种常见的Android开发错误及解决方案
整理总结了9个Android开发中的错误以及解决方案,共同探讨进步!
1. 如果你的项目的R文件不见的话,可以试下改版本号在保存,R文件不见一般都是布局文本出错导致.
2. 布局文件不可以有大写字母
3. 抛出如下错误WARNING: Application does not specify an API level requirement!,
android Textview 常见效果
1:跑马灯的效果 android:singleLine=&true& android:ellipsize=&marquee& android:focusableInTouchMode=&true& android:focusable=&true& android:marqu
新手学android 用eclipse创建android项目报错 java环境和android环境都配置了。eclipse版本4.3adt版本23.0.0创建我的第一个android项目报错,搞了一下午没搞好。
搞android这么难吗?。。。。求帮助啊。
新建一个名为t
Android NDK开发(三)——常见错误集锦以及LOG使用
转载请注明出处:http://blog.csdn.net/allen315410/article/details/
Android NDK开发经常因某些因素会出现一些意想不到的错误,很多时候调试
Eclipse开发andriod程序时import android.support.v4或者import android.support.v7提示导入错误解决办法
在使用Eclipse开发andriod程序时,程序中提示import android.support.v4.XXX或者import android.support.v7.XXX出错,具体的提示信息是: The import andr
使用NDK编译含JNI的Android项目常见问题解决方案
有时候,自己下载的或者拷贝过来的JNI项目出现莫名错误,通常是找不到头文件,可能解决方案如下:
Removing the C nature:
The only way I could find to reliably removed the C nature from the project was by hand editi
源码下载后,导入eclipse报错,缺少android包,如何办? 如图所示fragmentdemo是我下载的源码,导入android后,其中一个文件报错,错误如右侧所示,主要原因,好像是没有成功引入android4.4.2;
请问如何导入?
------解决思路---------------------- 项目属性中添加呀。
eclipse下创建android项目src和layout下为空
在eclipse中创建android项目,src目录和layout目录下为空,现在开始解决这个问题(这只是一个开始)。
在网上查找答案,说是eclipse版本和adt版本不兼容。 第一步;查看eclipse的版本号。
Help--&About Eclipse---&g
Android - Gradle项目构建依赖
Gradle项目构建依赖
本文地址:http://blog.csdn.net/caroline_wendy
Android使用Gradle构建时,由于模块之间的依赖关系,和Gradle升级的兼容性,会导致异常,常见的问题:
(1) Error:No such property: target for class: com.andr
从eclipse中导出项目到android studio。
A.从eclipse中导出项目。 1.右键选择需要导出的项目,选择export。 2.在接下来的显示框中展开android列表项,选择 Generrate Gradle build files。点击next 3.再次需要导出的项目。(其实前面右击项目是不必要的,空白处右击选择export也一样)。 4.选择Modules(注意andro
Android Intent机制和常见用法
Activity Android中,Activity是所有程序的根本,所有程序的流程都运行在Activity之中,Activity具有自己的生命周期(见/feisky/archive//1637427.html,由系统控制生命周期,程序无法改变,但可以用onSaveInst
eclipse 中的 lib工程导入android stuido 并引入
mac android studio 1.2 在大环境正 没有遇到什么问题,但是在 AS中创建工程,怎么引入eclipse libarary工程 各种问题 整理一天,终于搞定,记录一下,都是在网上找的资料 1 ,更新到jdk1.7
需要设置.bas
Eclipse混淆文件导入Android Studio Gradle编译报input jar file is specified twice
Eclipse项目中的混淆配置文件 复制到AS中 在混淆的过程中提示如下错误
Error:Executionfailedfortask':app:proguardDemoR
Android环境搭建--Eclipse安装错误
  安卓学习第一步,搭建开发环境。经历了才知道,原来这一步没想象中那么简单,也可能是我太幸运。让我遇到 了不少问题。   首先,安装Eclipse的时候。   【Problem 1】 &nbs
android常见问题合集1
一. listview滑动时,显示数据混乱。 方法:
View accountListView =
ListViewHandler handler = new ListViewHandler();// &n
Android 导入工程出现Unable to resolve target 'android-xx'错误 因为被导入的工程是由不同的版本Eclipse生成的。
查看本地SKD的版本,如下:
修改工程下面的“/工程名/project.properties”文件中,把target=android-xx为当前版本。
将修改为target=android-19改为target=andr
Android开发面试经——3.常见Android进阶笔试题
关注finddreams博客:http://blog.csdn.net/finddreams/article/details/
上一篇文章我们已经了解了Android笔试的一些基础题目,《Android开发面试经——2.常见Android基础笔试题》
但是做为一个有经验的开发者,仅仅知道基础题还是不够的,你的简历
导入android项目总数出现:Unable to resolve target 'android-9'
1、出现 “Unable to resolve target 'android-9'”,解决办法: 菜单项---clean对应文件 或者: 右键项目文件---&properties---&android选择对应版本保存(设置后丢失的gen文件中的R.JAVA自动刷新出) 或者:报错内容:
一堆类似于??E:\SL\appcompat_v7\res\values-v21\themes_base.xml:191:&error:&Error:&No&resource&found&that&matches&the&given&name:&attr&'android:colorPrimaryDark'.的错误信息。
创建时关于系统的选项:
报错的项目与兼容包:
报错项目的库:
SDKM中安装的内容:
Eclipse安装的ADT插件:
虽然可以人为规避报错,创建4.0以上项目无报错,但错误的存在一直是个未知数。我也找错误3天了,现在一头雾水没有头绪,拜托指点。。
回复讨论(解决方案)
请看好,你这里是
E:\SL\appcompat_v7\res\values-v21\themes_base.xml:191:
说明,要求你的&sdk&为&android5.0的&sdk,因此,你需要把&Property&中&Android&的对应版本改成5.0才行,而你的是4.2,低了
创建项目的时候,minSDK选择4.0,就不会这么麻烦了。最新的ADT如果要兼容2.3的话,它就会自动创建appcompat_v7&lib包项目,这个要改的话很麻烦,各种报红x
请看好,你这里是
E:\SL\appcompat_v7\res\values-v21\themes_base.xml:191:
说明,要求你的&sdk&为&android5.0的&sdk,因此,你需要把&Property&中&Android&的对应版本改成5.0才行,而你的是4.2,低了
按照您的方法,现在v7项目不报错了,但是aaa项目报红叉了,同样的报错信息。
一样的改啊,v7项目和&aaa&项目都要改的啊
其实什么都不需要改的,只需要右击appcompat_v7选属性,找到android,一直往下拉,会看到Is&Library选择框,选中,把两个项目清除一下,应该就没错了!
一样的改啊,v7项目和&aaa&项目都要改的啊
的确!问题解决啦,在创建项目时compile&SDK选择4.X版本就行了。不过这样的话其它选项又有何用。。只需一步,快速开始
扫一扫,访问微社区
查看: 3189|回复: 5
创建新的Android项目,Eclipse自动创建appcompat_v7出错,如何解决
黑马币技术分主题
初级黑马, 积分 53, 距离下一级还需 47 积分
初级黑马, 积分 53, 距离下一级还需 47 积分
我的ADT的版本是最高的23.0,创建新的android项目,会出现appcompat_v7的内容。
最小ADT我选的API10,最高的选的API20。
出现的appcompat_v7这个是为了兼容版本的问题,不过我的appcompat_v7会出现很多错误,错误如下:
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:25: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabView'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:33: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabText'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:37: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:41: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:65: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Title'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:69: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Subtitle'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:45: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Menu'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:49: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:53: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:57: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title.Inverse'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:61: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:178: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar.Horizontal'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:182: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:113: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:115: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:110: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.DropDownItem.Spinner'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:107: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView.DropDown'.
[ 23:50:52 - test]
[ 23:50:52 - test] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:121: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView'.
[ 23:50:52 - test]
黑马币技术分主题
初级黑马, 积分 53, 距离下一级还需 47 积分
初级黑马, 积分 53, 距离下一级还需 47 积分
[ 23:50:55 - appcompat_v7] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.
[ 23:50:55 - appcompat_v7]
[ 23:50:55 - appcompat_v7] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.
[ 23:50:55 - appcompat_v7]
[ 23:50:55 - appcompat_v7] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'.
[ 23:50:55 - appcompat_v7]
[ 23:50:55 - appcompat_v7] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:25: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'.
[ 23:50:55 - appcompat_v7]
[ 23:50:55 - appcompat_v7] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabView'.
[ 23:50:55 - appcompat_v7]
[ 23:50:55 - appcompat_v7] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:33: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabText'.
[ 23:50:55 - appcompat_v7]
[ 23:50:55 - appcompat_v7] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:37: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'.
[ 23:50:55 - appcompat_v7]
[ 23:50:55 - appcompat_v7] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:41: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'.
[ 23:50:55 - appcompat_v7]
[ 23:50:55 - appcompat_v7] D:\BaiduYunDownload\workspace\appcompat_v7\res\values-v21\styles_base.xml:65: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Title'.
[ 23:50:55 - appcompat_v7]
像这样的错误还有很多,由于限制发的字数我就不在多发了
黑马币技术分主题
初级黑马, 积分 53, 距离下一级还需 47 积分
初级黑马, 积分 53, 距离下一级还需 47 积分
我上网也找了一些方法,像这样的方法:
解决项目建成后appcompat_v7包出错。test包出现红色警告的问题。
点击菜单栏&Project&,选择&Clean&,然后点击&OK&,Clean完成后,你会发现appcompat_v7包出错。test包出现红色警告的问题已经解决了,只是test包还有黄色警告,那只是因为test的Java文件中import的类没有被使用,所以完全不用管它。
如果还不管用,那么右键appcompat_v7包,选择Properties,点&Android&,如果Library栏下的&Is Library&方框没勾选,则勾选上,点击&OK&,然后再照以上步骤执行&Clean&操作即可。
但是我这样做之后还是没有任何改变,还是出现以上的错误,我对上面出现的代码实在不是很了解,希望各位高手能帮我分析一下,有什么解决的方案。
黑马币技术分主题
初级黑马, 积分 53, 距离下一级还需 47 积分
初级黑马, 积分 53, 距离下一级还需 47 积分
我现在知道的唯一能解决问题的办法是:在新建项目的时候把minimum required sdk选择android 4.0以上版本就不会出现那个了。
不过这样低版本的ADT就不支持了。
我现在真的是不知道怎么解决这个appcompat_v7出错情况。希望有高人能指点迷津
黑马币技术分主题
中级黑马, 积分 614, 距离下一级还需 386 积分
中级黑马, 积分 614, 距离下一级还需 386 积分
10下面还没有那么多的values配置,如果配置为10,需要删除
黑马币技术分主题
初级黑马, 积分 53, 距离下一级还需 47 积分
初级黑马, 积分 53, 距离下一级还需 47 积分
10下面还没有那么多的values配置,如果配置为10,需要删除
什么意思,没明白:dizzy:
站长推荐 /4
传智·黑马论坛Andrid真正精华资源,受益Google-Andrid开发的大牛中级小菜鸟伙伴!一、精华级传智Android视频学习资源分享。二、Android新手篇入门分享。三、Android实战技术经验集。四、......
黑马iOS最权威最有料的资源帖横空出世!你还在找着各种各样的技巧及视频,在某宝花着大量银子才发现最终收到的却是很多年前的教学视频与资料吗?请来了解下,为什么iOS开发者是程序猿中的高富帅,开发者中的战斗机!
本课程主要讲解的是html+css,课程以Xhtml+css代码理论为基础,以项目实战为核心,让学完本课程的你能够轻松搞定各种网页布局、企业网站、电商网站、门户网站、网页常见活动页、专题页,还可以......
一帖在手,说走就走,小马驹们看过来~是不是有一种点招社招傻傻分不清楚赶脚?是不是有一种黑马论坛黑马报名系统傻傻分不清楚赶脚?是不是有一种先付费后付费傻傻分不清楚赶脚?莫要担心,雪姐来解释一下!
Powered by
Copyright &

我要回帖

更多关于 applicationclass出错 的文章

 

随机推荐