Process 'command 'C:\zssinstallsoft\Android\sdk\build-tools\27.0.1\aapt.exe'
16lz
2021-01-23
Process ‘command ‘C:\zssinstallsoft\Android\sdk\build-tools\27.0.1\aapt.exe’’ finished with non-zero
原因:
AGPBI: {“kind”:“error”,“text”:“No resource found that matches the given name (at \u0027background\u0027 with value \u0027@color/color_border\u0027).”,“sources”:[{“file”:“D:\androidStudioProject\zhtc\sfy\SmartParking.TollCollector\app\src\main\res\layout\activity_back_fee.xml”,“position”:{“startLine”:40,“startColumn”:28,“startOffset”:1320,“endColumn”:47,“endOffset”:1339}}],“original”:"",“tool”:“AAPT”}
找不到资源id
解决方法:
可能命名不规范导致资源R文件无法自动生成,检查xml文件。
更多相关文章
- Android资源收集
- 在android中使用HttpURLConnection进行文件上传
- 转:Android文件操作总结
- 【Android的从零单排开发日记】之入门篇(十)——Android应用配置文
- Android 不能使用内部资源
- 关于android单元测试结合SAX解析xml文件初步分析
- android app 缓存 ---- android 文件缓存使用流程解析
- 如何在Android上显示wmf的文件