Android: ClassNotFoundException when passing serializable object to Activity

前端 未结 3 1620
旧时难觅i
旧时难觅i 2020-12-03 05:45

I have a few crash report logs from android market similar to this:

Exception class: java.lang.ClassNotFoundException

Source method: PathClassLoader.findCla         


        
3条回答
  •  -上瘾入骨i
    2020-12-03 06:03

    LinkedHashMap doesn't implement Serializable so this may be causing the error. Try either implementing a small test to serialize this class or try removing the LinkedHashMap and see if the error persists.

提交回复
热议问题