Skip to content Skip to sidebar Skip to footer

Android Null Pointer Exception On My Database

My insert function public void AddBakim(){ btn_bakimkaydet.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) {

Solution 1:

I think you have not initialized your button 'btn_bakimkaydet' . Please first initialize your button and then setOnClickListener on it.


Post a Comment for "Android Null Pointer Exception On My Database"