自定义View- 编译时出现aapt.exe finished with non-zero exit value 1错误的解决方法
2016-11-21 10:37
232 查看
问题解决方案来自
http://blog.csdn.net/tcpipstack/article/details/51559613
XMl 中 attrs.xml文件需要制定 属性的格式
可以看出singleLine没有对应的format属性,确定singleLine没有在代码中使用之后,将此属性删掉或者给其添加属性 。
重新编译之后,问题解决。
http://blog.csdn.net/tcpipstack/article/details/51559613
XMl 中 attrs.xml文件需要制定 属性的格式
<declare-styleable name="ListItemLinearLayout"> <attr name="singleLine" /> <attr name="titleSize" format="dimension" />
可以看出singleLine没有对应的format属性,确定singleLine没有在代码中使用之后,将此属性删掉或者给其添加属性 。
重新编译之后,问题解决。
相关文章推荐
- Android编译时出现aapt.exe finished with non-zero exit value 1错误的解决方法
- [置顶] Android Studio Eclipse运行时出现 finished with non-zero exit value 2 错误解决方法
- “AndroidStudio2.1.3\sdk\build-tools\24.0.0\aapt.exe''finished with non-zero exit value 1问题解决方法
- 使用studio编译中遇到的两个的错误_'D:\jdk1.7.0_80\bin\java.exe'' finished with non-zero exit value 1 等
- Android Studio解决 类似 sdk\build-tools\23.0.1\aapt.exe'' finished with non-zero exit value 1 这种问题
- android studio java.exe finished with non-zero exit value 2 解决思路与方法
- Android Studio编译程序出现finished with non-zero exit value 2错误
- 使用studio编译中遇到的两个的错误_'D:\jdk1.7.0_80\bin\java.exe'' finished with non-zero exit value 1 等
- Android studio编译遇到 ProcessException。。。。aapt.exe finished with non-zero exit value 1
- Android Studio中编译时遇到Finished with non-zero exit value 2的解决方法
- 解决 D:\android-sdk-windows\build-tools\26.0.0\aapt.exe'' finished with non-zero exit value 1
- aapt.exe'' finished with non-zero exit value 1错误
- aapt.exe'' finished with non-zero exit value 1 ,报错解决总结
- build-tools\23.0.3\aapt.exe'' finished with non-zero exit value 1错误提示
- 出现aapt.exe finished with non-zero exit value 1的解决方案
- android-studio中运行项目出现 java.exe'' finished with non-zero exit value 2错误
- Error:Execution failed for ..dk\build-tools\23.0.2\aapt.exe'' finished with non-zero exit value 1错误
- 解决 类似 sdk\build-tools\23.0.1\aapt.exe'' finished with non-zero exit value 1 这种问题
- build-tools\21.1.2\aapt.exe finished with non- zero exit value 1错误
- 使用studio编译中遇到的两个的错误_'D:\jdk1.7.0_80\bin\java.exe'' finished with non-zero exit value 1 等