No resource found that matches the given name 'android:Widget.Material.A解决方案

1:首先新建空白工作区

2:先import appcompat_v7

appcompat_v7在一个类似这样的地方,

C:\mywork\android\android-sdk-windows\extras\android\support\v7\appcompat

然后用import进来,像如下操作:

No resource found that matches the given name 'android:Widget.Material.A解决方案

确保sdk是5.0及以上

3:再import原来的工程进来

4:add lib,如下

No resource found that matches the given name 'android:Widget.Material.A解决方案

此问题解决。

No resource found that matches the given name 'android:Widget.Material.A解决方案本文基于Creative Commons Attribution 2.5 China Mainland License发布,欢迎转载,演绎或用于商业目的,但是必须保留本文的署名http://www.cnblogs.com/luminji(包含链接)。如您有任何疑问或者授权方面的协商,请给我留言。