I have the similar issue posted here io.appium.uiautomator2.common.exceptions.InvalidArgumentException: Invalid 'shouldUseCompactResponses' setting value type. Got: java.lang.String. Expected: java.lang.Boolean. (SessionNotCreated)
If anyone found the solution let me know.