error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCo


I am following the documentation here to install the Android SupportV7 Libary into my project. There are two things that I notice: 1)When I am browsing my SDK installation directory and the Support Library folder, there is no folder named "appcompat" 2)When I install the entire V7 folder anyways I get this error:

error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.ActionButton'

How can I fix this? (Note: this is in the mediarouter folder)

This is what I see when browsing my SDK installation directory: http://tinypic.com/view.php?pic=2egehc9&s=5#.UkZqoRbnZAg

share | improve this question
 
 
Nevermind. I was able to fix this by reinstalling the support libary and then reinstalling the v7 folder (so now it contained appcompat) –   user1628978  Sep 29 '13 at 15:39
add comment

1 Answer

up vote 4 down vote accepted

If use Eclipse:

  1. You should reinstall your Android Support Library by Android SDK Manager to get the complete android supportV7 library.
  2. The mediarouter library project dependency on the appcompat library project. So,after you have finished Step 1, you can follow Android Support Library v7: Error retrieving parent for item to fix this problem.
share | improve this answer
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值