打包的APK除了华为,其他都闪退

x79 2020-11-30 760

java.lang.RuntimeException: Unable to create application cn.wildfire.chat.app.MyApp: java.lang.IllegalArgumentException: e.a.e.x.a, custom messageContent class must override encode,自定义消息必须覆盖encode方法,并调用super.encode(),请参考TextMessageContent.java at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6614) at android.app.ActivityThread.access$1400(ActivityThread.java:229) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1892) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:228) at android.app.ActivityThread.main(ActivityThread.java:7589) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:953) Caused by: java.lang.IllegalArgumentException: e.a.e.x.a, custom messageContent class must override encode,自定义消息必须覆盖encode方法,并调用super.encode(),请参考TextMessageContent.java

最新回复 (1)
  • x86 2020-11-30
    引用 2
    你好,上面的日志说的很清楚了,请对应修改。
返回