Home > Mobile >  Android textView problem
Android textView problem

Time:10-29

I have a click event, set the list to monitor, set up the textView visible, why the program is running as soon as you click the stop running!

CodePudding user response:

So no you should capture logchat see places where an error

CodePudding user response:

Grasp the adb log search fatal keywords to see what mistake

CodePudding user response:

You in that event v. indviewbyid you how is the findview couldn't find how can don't have the wrong

CodePudding user response:

The findviewbyid which have on the click event in oncreate inside is good

CodePudding user response:

Is the View is not the View pay attention to the case,

CodePudding user response:

Null exception!
TextView TextView=view. The findViewById==& gt; If the view is null

R.i d.x xx is write wrong

CodePudding user response:

If the view==null, program startup would collapse if the program can be started, click on the crash, that is not in the view R.i which ext_view controls,'d better check the LayoutInflater this line, see R.l ayout. XXX to have write wrong,
  • Related