Skip to content

Fix ArrayMap known issue: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Object[]

Notifications You must be signed in to change notification settings

wychi/ArrayMapFix

Repository files navigation

ArrayMapFix

Demo a solution to fix java.lang.ClassCastException in ArrayMap.

patch ArrayMap in support-v4

The workaround implemented here is to add a synchronized block to protect mArray.

Then use gradle Transform API to patch support-v4 library.

About

Fix ArrayMap known issue: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Object[]

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages