When building an APK, an error appears with logs
FAILURE: Build failed with an exception.
16:49:42.530
16:49:42.530 * What went wrong:
16:49:42.530 Could not resolve all files for configuration ‘classpath’.
16:49:42.530 > Could not find com.beust:klaxon:5.0.1.
16:49:42.530 Searched in the following locations:
16:49:42.530 - https://dl.google.com/dl/android/maven2/com/beust/klaxon/5.0.1/klaxon-5.0.1.pom
16:49:42.530 - https://jcenter.bintray.com/com/beust/klaxon/5.0.1/klaxon-5.0.1.pom
16:49:42.530 Required by:
16:49:42.530 unspecified:unspecified:unspecified
16:49:42.530
16:49:42.530 * Try:
16:49:42.530 > Run with --stacktrace option to get the stack trace.
16:49:42.530 > Run with --info or --debug option to get more log output.
16:49:42.530 > Run with --scan to get full insights.
16:49:42.530
16:49:42.530 * Get more help at https://help.gradle.org
16:49:42.530
16:49:42.530 BUILD FAILED at 13s
16:49:42.721 Android build failed (1) after 17 seconds
how to fix this?