No such instance field

前端 未结 6 1274
醉酒成梦
醉酒成梦 2020-12-09 16:54

I\'m trying to get my application to save some data when the orientation of the screen is changed using the onSaveInstanceState to save a boolean value mC

6条回答
  •  时光取名叫无心
    2020-12-09 17:44

    In case this comes in handy for anyone else, I was able to resolve this issue immediately once I realized I was in 'Release' mode, not 'Debug' mode, in the Build Variants section.

提交回复
热议问题