Bad magic number for Bundle in Android

后端 未结 5 1566
挽巷
挽巷 2020-12-18 22:16

I\'m passing data from one activity to other activity with this code:

 @Override
    public void execute(List reports, Questions question) {
           


        
5条回答
  •  爱一瞬间的悲伤
    2020-12-18 22:29

    This happens because different modules are compiled in different JDK versions. You can check the JDK version by https://stackoverflow.com/a/30631386/5255006. Also, it can happen because of different variable types in reading and writing Parcel.

提交回复
热议问题