Serializable crash error when loading web broser from my application

前端 未结 3 1572
醉话见心
醉话见心 2021-01-23 16:48

I\'m developing an application.

This application contains 2 classes

  • Discovery class which implements serializable

  • Main class which exten

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-23 17:28

    The error is pretty clear: Caused by: java.io.NotSerializableException: android.os.Handler

    Figure out how to take the handler out: android.os.Handler handler = new android.os.Handler();

提交回复
热议问题