在用AndroidStudio编程,引入v7包的依赖时,报了下面这个错误:

No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

意思是没有找到  'android:actionModeShareDrawable'. 这个资源


后来在stackoverflow中找到了类似问题的一个简单解决方法:

No resource found that matches the given name: attr 'android:actionModeShareDrawable'._第1张图片

No resource found that matches the given name: attr 'android:actionModeShareDrawable'._第2张图片


注意:为了避免出现上述错误,要确保gradle中的下面这两个数字要保持一致!

No resource found that matches the given name: attr 'android:actionModeShareDrawable'._第3张图片

更多相关文章

  1. android 8.0、8.1 崩溃报 "Only fullscreen opaque activities c
  2. C# mono android 图片上传进度条实现
  3. Android常见错误解析
  4. Android获取本地图片之ACTION_GET_CONTENT与ACTION_PICK区别
  5. 关于文字颜色/图片背景---selector状态列表
  6. [Android] 代码实现按钮/图片自旋转(中心旋转)
  7. Android不错的图片压缩方法
  8. Android Studio 运行时出现 finished with non-zero exit value

随机推荐

  1. android studio导入第三方工具
  2. LeakCanary-帮助你检测Android所有的内存
  3. Android(安卓)使用 Material icons
  4. android 中关于SimpleAdapter构造参数的
  5. Nexus 5 Android(安卓)6.0.1刷机、Root
  6. tcping测试服务器TCP端口
  7. Android(安卓)Rxjava和retrofit
  8. SpringBoot 2.0 中 HikariCP 数据库连接
  9. android java 知识点
  10. Android(安卓)SugerORM框架的使用