android.content.res.Resources$NotFoundException: String resource ID #0x0

前端 未结 7 845
清酒与你
清酒与你 2020-11-21 08:18

I\'m developing an Android app which reads data from MySQL database and I faced this error. I have this XML layout:



        
7条回答
  •  鱼传尺愫
    2020-11-21 08:32

    Replace

    dateTime.setText(app.getTotalDl());
    

    With

    dateTime.setText(""+app.getTotalDl());
    

提交回复
热议问题