App crash when I submit a new post to Parse

前端 未结 5 557
逝去的感伤
逝去的感伤 2021-01-20 03:13

This is the only Place my app crashes and one of the more important features

The LogCat tells me:

java.lang.IllegalArgumentException: You must

5条回答
  •  面向向阳花
    2021-01-20 03:17

    In my case I had to remove the '@ParseClassName' annotation in my model class. My understanding is that if I have a parse model class 'Posts' and I call 'registerSubclass(yourclassname)' in Application, then all I need is

    Post obj = new Post();
    

提交回复
热议问题