I mean, I understand the error, but I don't see the error on Android Lollipop nor Marshmallow, only on KitKat.
I am sending a bidimensional array from an activity to another through an intent, like this:
String[][] bidimensionalArray = new String[3][3];
public void switchActivity(MenuItem item) {
Intent intent = new Intent(this, myActivity.class);
intent.putExtra("bidimensionalArray", bidimensionalArray);
startActivity(intent);
}
And, on the receiving activity, I am doing this:
bidimensionalArray = (String[][]) getIntent().getSerializableExtra("bidimensionalArray");
Again, this works perfectly on Android 5 and 6, but is erroring out on Android 4.
What changed with regards to serialization from Lollipop onward?