Home > Mobile >  Android studio page jump problem
Android studio page jump problem

Time:09-19

Each great god help have a look at what is out of the question how to solve

I use this app # CSDN# found have technical content of the blog and friends to seek common to "[for] Android studio page jump failure", gathered together at https://blog.csdn.net/weixin_46620372/article/details/105013471

CodePudding user response:

Based on my experience, is a null pointer exception, TextView txt_2; No instantiation, how can use it to invoke the method txt_2. SetText (str1); ?

CodePudding user response:

reference 1st floor YSoup response:
based on my experience, is a null pointer exception, TextView txt_2; No instantiation, how can use it to invoke the method txt_2. SetText (str1); ?
using the findViewById TextView instantiate the text box

CodePudding user response:

refer to the second floor YSoup response:
Quote: refer to 1st floor YSoup response:

Based on my experience, is a null pointer exception, TextView txt_2; No instantiation, how can use it to invoke the method txt_2. SetText (str1); ?
text box using the findViewById instantiated TextView do
ok I will try to thank the great god
  • Related