Android Runtime and Nullpoint Exceptions

前端 未结 1 993
时光说笑
时光说笑 2021-01-25 02:33

I have Parse initialization in a class named (ParseInitialization.java) that extends Application and while running my application (MainActivity.java) I got a RuntimeException an

1条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-25 03:28

    ParseInitialization is a application, not an activity. If you want it as an activity please change the java code. If it is an Application then you need to change your androidManifest

    Sample of Application declaration:

     
    
    ....
    
    
    

    0 讨论(0)
提交回复
热议问题