I have an application that queries a server (not under my con开发者_运维问答trol). The server returns a serialized object. I have the model for the class - however the problem is that the class is in "default package"... something not recognizable by Android ClassLoader.
How can I resolve this issue?
And tell whoever created the class, possibly yourself, that Java classes within packages haven't been able to access classes not within packages since Java 1.4 came out, about eight years ago. Put the class into a package.
精彩评论