Android studio b Error: No resource found that matches the given name (at 'src' with value '@dra...
来源:互联网 发布:什么叫还原网络设置 编辑:程序博客网 时间:2024/05/16 15:28
问题原因
问题贴出代码:
No resource found Errors for support:appcompat-v7:22.0.0或者E:\????\okhttp-utils-master\sample-okhttp\build\intermediates\res\debug\layout\notification_media_cancel_action.xml:18: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/abc_ic_clear_mtrl_alpha').
一般出现这个情况有两种原因:
1、项目路径包含中文字
2、也会由于项目路径长度太长导致(window系统下)
解决办法
关掉项目,
1、把项目移到不含中文字的目录下
2、把项目尽可能移到绝对路径较短下,比如直接D盘下,或者下一级里面!
1 0
- Android studio b Error: No resource found that matches the given name (at 'src' with value '@dra...
- error: Error: No resource found that matches the given name (at 'text' with value '@string/
- Error:(26, 34) No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/b
- Error: No resource found that matches the given name (at 'theme' with value '@style/ AppTheme').
- Error: No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/p
- Error:No resource found that matches the given name (at 'icon' with value '@mipmap/ic_launcher.9').
- 关于Android报错:error: Error: No resource found that matches the given name (at 'label' with value)
- 关于error: Error: No resource found that matches the given name (at 'text' with value '@string/hello')
- 怎样解决错误:error: Error: No resource found that matches the given name (at 'layout_toLeftOf' with value
- Error:(3, 58) No resource found that matches the given name (at 'drawable' with value '@drawable/mm_
- No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/ history_child_
- No resource found that matches the given name (at 'drawab' with value '@drawable/你的资源').
- No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/tx_search_friend
- 报错No resource found that matches the given name (at 'title' with value '@string/action_settings'
- No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/tx_search_frien
- 解决 No resource found that matches the given name (at 'layout_above' with value '@id/button3').
- No resource found that matches the given name (at 'cardBackgroundColor' with value
- 报错No resource found that matches the given name (at 'title' with value '@string/action_settings'
- context.getClass和getPackageName的区别
- Andriod 中button监听事件的三种方式
- 矩阵、向量求导法则
- linux mysql 数据库开启外部访问设置指南
- 【挖坑】近期学习计划
- Android studio b Error: No resource found that matches the given name (at 'src' with value '@dra...
- Redis与Memcached的区别
- Incorrect line ending: found carriage return (\r) without corresponding newline (\n)
- Linux进程间通信
- dll文件分析与说明
- PHP的输出缓冲区
- 天池大坑-阿里音乐尝试(1)
- xcode 导出包的类型说明
- BZOj2705: [SDOI2012]Longge的问题