I keep getting this Serializable error. Both of my classes implement it. I cant seem to find problem. I have gone through all classes and still cant find the cause. It only happens on older Android version, 2.3 and below. Seems to be working find on 4.0+?
Update
Right this problem is back for me.
This time i get
java.lang.RuntimeException: Parcelable encountered IOException writing serializable object (name = ....datastructures.model.PortfolioAccount)
PorfolioAccount contrain all GSON object and variables.
and it caused by this
Caused by: java.io.NotSerializableException: android.os.Handler
I have checked all my classes that need to be Serializable, but still cant find nothing. Like before its only happening on old Android OS versions.
I believe that your object has an attribute that is not Serializable. Make sure that your class attributes are all implementing Serializable interface. If this in not the problem, I would recommend to implement Parcelable interface.