添加appcompat_v7 library即可 1.选中项目 点击右键 选择属性 2.选择android 节点 3.选择 library 点击添加 选中appcompat_v7 即可 apply一下 ok