Android应用出错 error: Error retrieving parent for item: No resource found that matches .....
来源:互联网 发布:mac 给文件夹权限 编辑:程序博客网 时间:2024/05/16 23:56
由于SDK中support v7没有正确安装,所以会报error: Error retrieving parent for item: No resource found that matches 的错误。
因此需要将support v7按照一下方法导入后,问题才能解决。
导入其他项目进来时,它使用了使用android.support.v7库,所以导入之后报错,解决办法是,在Android studio的程序文件夹里有sdk文件夹,里面存放着下载好的这个库的工程,将它导入到eclipse里,然后再引用它就行了。具体步骤:
(1)import -> Existing Android Code Into Workspace
(2) 选择目录: 在sdk下的extras\android\support\v7\appcompat目录中
(3)勾选"Copy projects into workspace"
(4)如出现 Unable to resolve target 'android-16' 错误,是build target版本号问题,右键->properties->Android->build target,选择一个本机已经安装好的sdk版本。
(5)在你新工程中右键->properties->Android->Library中add上面的库工程即可。
0 0
- Android应用出错 error: Error retrieving parent for item: No resource found that matches the
- Android应用出错 error: Error retrieving parent for item: No resource found that matches the
- Android应用出错 error: Error retrieving parent for item: No resource found that matches .....
- Android应用出错 error: Error retrieving parent for item: No resource found that matches the
- Android 应用出错 error: Error retrieving parent for item: No resource found that matches the的第二种情况
- Android 应用出错 error: Error retrieving parent for item: No resource found that matches the的第二种情况
- Android应用出错 error: Error retrieving parent for item: No resource found that matches the given name
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Them
- 解决error: Error retrieving parent for item: No resource found that matches the given name 'android:
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Win
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind
- android导入工程时style出错Error retrieving parent for item: No resource found that matches the given name '
- Android:Error retrieving parent for item: No resource found that matches the given name解决方法
- Android Error retrieving parent for item: No resource found that matches the given name '...'
- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
- Android Studio -- Error retrieving parent for item: No resource found that matches the given
- Java中如何获取系统信息
- Java学习笔记:线程安全问题
- Android 快速开发系列 打造万能的ListView GridView 适配器
- Entity FrameWork +.NET MVC+ EasyUI 之 导出EXCEL01
- 博客第一天上线
- Android应用出错 error: Error retrieving parent for item: No resource found that matches .....
- UIButton上同时显示图片和文字的方法
- 贪心算法8之1017
- IntentService: Providing data back to Activity #android
- 大话设计模式-模板方法模式
- 监听Android程序前后台切换
- Android酷炫UI效果
- C++解决大整数相加问题
- UILable自适应字体大小、自适应lable宽高