报错Attempt to invoke virtual method on a null object reference帮帮忙,我真看不出来哪有问题
String name;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
name = LitePal.findLast(MedicineBean.class).getName();
run之后报错