📌  相关文章
📜  java.lang.NullPointerException:尝试在空对象引用上调用虚拟方法 'void android.widget.TextView.setText(java.lang.CharSequence)' - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:45.894000             🧑  作者: Mango

代码示例1
Null pointer try to say that the textview is null. That can happen beacause the findviewbyid is not matching with the right one on your xml. 
Be sure your id matches on your xml and java file