项目报错:Attribute "height" already defined with incompatible format.
来源:互联网 发布:unity3d 闪屏 编辑:程序博客网 时间:2024/06/06 04:40
报错如下:
D:\Users\Administrator\AndroidStudioProjects\Njb\app\build\intermediates\res\merged\debug\values\values.xmlError:(674) Attribute "height" already defined with incompatible format.Error:(227) Original attribute defined here.Error:(674) Attribute "height" already defined with incompatible format.Error:(227) Original attribute defined here.Error:Execution failed for task ':app:processDebugResources'.> com.android.ide.common.process.ProcessException: Failed to execute aapt
原因:
自定义属性的属性名称不能跟系统默认的名称冲突.
解决方法:
双击出错位置可以看到height是哪里定义的属性。
然后打开我们的values/attrs,删除这个height,再clean一下即可
阅读全文
0 0
- 项目报错:Attribute "height" already defined with incompatible format.
- 【Android Studio错误汇总】Attribute "height" already defined with incompatible format.
- Error:(139) Attribute "background" already defined with incompatible format.
- 报错:Attribute ”rippleColor“ has already been defined”(纯手打,已解决)
- 自定义View里面的自定义属性的时候报错:Attribute "color" has already been defined
- 使用appcompat这个包之后出现Attribute "height" has already been defined这个问题。
- Tomcat配置Https报错-Connector attribute SSLCertificateFile must be defined when using SSL with APR
- mysql 报错 incompatible with only_full_group_by
- eclipse重命名web项目名称,报错:Attribute "xmlns" was already specified for element "web-app"
- vs2013报错“incompatible PDB format in 'xxx.pdb'”
- Attribute "XXX" has already been defined
- Attribute "XXX" has already been defined
- error: Attribute "buttonBarStyle" has already been defined
- Attribute "roundWidth" has already been defined
- Android studio更新后项目报错Error:android-apt plugin is incompatible with the Android Gradle plugin. Pleas
- Android项目报错conversion to dalvik format failed with error
- eclipse下运行android项目报错:Conversion to Dalvik format failed with error 1解决办法
- 引用工程时 error: Attribute "color" has already been defined
- SWT教程
- 导致微信JSSDK 自定义分享内容接口失效的一种原因
- 一场让我持续懵比的面试
- 33. Search in Rotated Sorted Array
- 项目报错-failed to find build tools revision 26.0.1
- 项目报错:Attribute "height" already defined with incompatible format.
- main 中 argc 与 argv 的使用详情
- C Primer Plus (第六版)中文版 第十章 编程练习答案
- POJ 2155 Matrix(二维树状数组)
- 项目报错:Duplicate files copied in APK META-INF/LICENSE
- 杭电ACM OJ 1027 Ignatius and the Princess II 全排列的第N个 康托展开
- 使用centOS 7配置nodeJS开发环境
- 文字——弹幕?
- C++——黑白棋(基础模块)