Android项目使用support v7时遇到的问题
来源:互联网 发布:多少度人会冻死知乎 编辑:程序博客网 时间:2024/06/05 08:35
比方说:
appcompat\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name'android:Widget.Material.ActionButton'.
appcompat\res\values-v11\themes_base.xml:178: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
appcompat\res\values-v14\themes_base.xml:27: error: Error: No resource found that matches the given name: attr 'android:actionModePasteDrawable'.
对于在values-v11这类针对不同android target加载的values下找不到资源的问题,原因还是一样,找不到这个target下的资源。
解决方法:
很简单,把project.properties里的target=android-8或者可能稍微高点,改到target=android-21或者更高(前提是sdk已经下载了该target的库),然后再clean下项目。这样这类问题也就解决了,当然你在Manifest里不要忘记加上uses-sdk,来允许最低版本。
- Android项目使用support v7时遇到的各种问题
- Android项目使用support v7时遇到的各种问题
- Android项目使用support v7时遇到的各种问题
- Android项目使用support v7时遇到的各种问题
- Android项目使用support v7时遇到的问题
- Android项目使用support v7时遇到的各种问题
- Android项目使用support v7时遇到的各种问题
- Android项目使用support v7时遇到的各种问题GOOD
- Android项目导入support v7包时遇到的各种问题
- Eclipse 使用 android.support.v7 包时,遇到的问题s
- 关于eclipse使用导入RecycleView时遇到的问题NoClassDefFoundError: android.support.v7.recyclerview.R$styleable
- Android Studio 使用Support.v7和support.v4包遇到的各种问题
- Android Support v7使用后导致的问题
- android-support-v7使用
- 解决导入android.support.v7的问题
- 参考的开源项目中使用Android Support V4, V7, V13等,带来的一堆问题
- 关于android support v7包的使用
- Android-support-v7-RecyclerView的使用
- Ajax调用MVC控制器参数为实体
- 做AD转换方案时,一定需要注意的几点问题
- [LeetCode]036-Valid Sudoku
- mac上传文件到linux服务器上
- “群妖”乱舞 A股亟待“去散户化”
- Android项目使用support v7时遇到的问题
- OC学习篇之---类的延展
- IOS:在app中访问appstore中的app
- OC_05_02
- 利用NDK 生成.so文件
- 2015百度校园招聘面试题
- css3属性集合
- TCP/IP(5)-IP选路,动态选路,和一些细节
- 28 Five pounds too dear五磅也太贵