tvAllQuantity.setText(anIntAllAmount + "");
setText是String但是你的应该是Int型的,所以加个空就行了。
ZhangJiQunMXP 博主文章分类:android 开发常见错误 ©著作权
tvAllQuantity.setText(anIntAllAmount + "");
setText是String但是你的应该是Int型的,所以加个空就行了。
报错信息E/AndroidRuntime: FATAL EXCEPTION: main Process: com.cxyzy.demo, PID: 4520 android.content.res.Resources$NotFoundException: String resource ID #0x1 at android.content.res.Resource...
...
Process: kim.hsl.databinding_demo, PID: 9397android.content.res.Resou
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M