java.lang.NoSuchMethodException for onCreate

后端 未结 4 996
自闭症患者
自闭症患者 2020-12-31 09:38

I see crashes in the Google Play crash log that is really stumping me.

java.lang.RuntimeException: 
  at android.app.ActivityThread.performLaunchActivity (Ac         


        
4条回答
  •  南方客
    南方客 (楼主)
    2020-12-31 10:36

    The activity is being restored from an instance state bundle. Part of the restore operation is recreating its fragments.

    Your activity has a fragment and the fragment class does not have a 0-arg constructor required by the framework.

提交回复
热议问题