#1502 is caused by a dependency conflict of an older version of org.json package (which is used by a external dependency). The solution is to override the org.json version or exclude the older version from the external dependency.
I don't think there is much we can do in our client to prevent such dependency issues. But since our org.json package is very old I think we can upgrade to the latest anyway.
The only place we use org.json is in ServiceOptions class so this should not cause any issue.