android build error when add cast

No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.

这是因为你的progject structer 是选的 API22 ,但是某个库需要23来编译,所以你改成23就行了

[img]http://dl2.iteye.com/upload/attachment/0115/5088/e7decb83-d4c4-3114-8e23-46327485a6b2.png[/img]

[img]http://dl2.iteye.com/upload/attachment/0115/5090/968f510c-9e76-38bc-9b95-72785babe158.png[/img]

[img]http://dl2.iteye.com/upload/attachment/0115/5092/3e38a0a2-ceb7-334e-a1e6-0b5724d1e07d.png[/img]

http://stackoverflow.com/questions/32075498/error-retrieving-parent-for-item-no-resource-found-that-matches-the-given-name


我项目用了cast,然后cast 第三方库里有个 compile 'com.google.android.gms:play-services-cast:8.4.0'
然后build出错,

[img]http://dl2.iteye.com/upload/attachment/0115/5158/1d295832-e457-3197-9511-e0a784f15180.png[/img]

后来换成 7.8.+ 就可以build了,但是这不是原因,原因还是在于两个playservice不一致导致的。 主项目里换成8.4.0 也可以解决这问题
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值