serialization - Serializing object between Android and PC (Dalvik vs JVM) -


I am working with a large library, Ika, and I transfer examples between PC version and Android version Want to I do not have to rewrite the entire serialization between the two, but I always get this error in changing the UID rules:

  java.io.InvalidClassException: [LVK classifiers.functions.MultilayerPerceptron $ NeuralEnd ;; Incompatible class (SUID): [LEVIKA. Classifier.function.multiellar septron $ neurrelend: Fixed last long serial UID = 359311387972759020 L; But expected [lewka. Classifier.function.multieller septron $ Neurreland: Fixed last long serial UID = 1920571045 915494592 L;   

It appears that the array has an incorrect SUID itself, because these numbers do not match the number assigned to the class. Is there any remedy?

Can you provide more code? It looks like the possible bug in the Dalvikvm core libraries, which can be fixed if it is notified. Dlvic is to review and report bugs.

Despite the bug, you should be able to work around the problem by adding fields to your class.

Comments