Illegalaccessexception - Serialization Of Object That Inherits From Non-serializable
I getting android.widget.ImageView; IllegalAccessException when trying to deserialize my previously serialized object File presetFile = new File('pathToFile'); Fil
Solution 1:
It is because the ImageView
you are inheriting from is non-Serializable and doesn't have a public no-args constructor. Evidently it has a protected or package-access or private one.
Post a Comment for "Illegalaccessexception - Serialization Of Object That Inherits From Non-serializable"