没有合适的资源?快使用搜索试试~ 我知道了~
Android Studio 报Integer types not allowed错误
0 下载量 135 浏览量
2021-01-20
09:42:46
上传
评论
收藏 31KB PDF 举报
温馨提示
试读
1页
Android Studio 报错 Error:(25, 5) Integer types not allowed (at 'android:textSize' with value '12'). 代码 <style name=HorizontalBtnLayout> <item name=android:layout_height>match_parent</item> <item name=android:layout_width>0dp</item> <item name=android:layout_weight>1</item>
资源推荐
资源详情
资源评论
Android Studio 报报Integer types not allowed错误错误
Android Studio 报错
Error:(25, 5) Integer types not allowed (at 'android:textSize' with value '12').
代码
<style name="HorizontalBtnLayout">
<item name="android:layout_height">match_parent</item>
<item name="android:layout_width">0dp</item>
<item name="android:layout_weight">1</item>
<item name="android:textSize">12</item>
</style>
分析:
1.是不是<style> </style>标签内不能使用android:textSize,系统有提示,说明可以的
2.根据报错Integer tyes is not allowed,考虑到是不是类型有问题,,改为12sp已ok
3,记得一定带单位
<item name="android:textSize">12sp</item>
您可能感兴趣的文章您可能感兴趣的文章:Android Studio 报错“app:processDebugResources”解决方法Android Studio启动报错Java 1.8 or later is
required的解决方法Android Studio 报错failed to create jvm error code -4的解决方法
资源评论
weixin_38609089
- 粉丝: 5
- 资源: 925
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 农村信用社联合社计算机信息系统投产与变更管理办.docx
- 农村信用社联合社计算机信息系统数据管理办法.docx
- 利用SPSS作临床效度分析线上计算网站介绍-医学研究部统计谘.(医学PPT课件).ppt
- 利用Zabbix监控mysqldump定时备份数据库状态.docx
- 利用计算机解决问题的基本过程.doc
- 化工铁路通信工程总结.doc
- 北京大学网络教育软件工程作业.docx
- 医药公司(连锁店)计算机操作规程未新系统的自行按照旧制修改-新系统过制的编号加修模版.doc
- 医药公司(连锁店)计算机系统操作规程模版.doc
- 医药连锁门店计算机系统的操作和管理程序未新系统的自行按照旧制修改-新系统过制的编号加修模版.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功