NullPointerException happens in an Android code snippet

前端 未结 2 2002
执笔经年
执笔经年 2021-01-15 05:25

Here\'s the code which deals with member registration.

public class RegisterActivity extends Activity {
    private static final String TAG = RegisterActivit         


        
2条回答
  •  感动是毒
    2021-01-15 05:57

    As you can see, AppController is not added to your manifest:

    
    

    So onCreate never get called and mInstance is null.

提交回复
热议问题