No JavaDoc is released for artifact com.braintreepayments.api:local-payment:4.31.0. Please try other versions.

Owner of the project? Troubleshoot following things: report to us if you tried everything but still doesn't work.