Could not resolve all artifacts for configuration 'classpath'. > Could not find com.beust:klaxon:5.0.1.

Hello Everyone. I collided with problem, that I getting the Next Error when compiling my Project to .APK file:

The Output:

15:59:07.709  FAILURE: Build failed with an exception.
15:59:07.709  
15:59:07.709  * What went wrong:
15:59:07.709  Could not resolve all artifacts for configuration 'classpath'.
15:59:07.709  > Could not find com.beust:klaxon:5.0.1.
15:59:07.709    Searched in the following locations:
15:59:07.709      - https://dl.google.com/dl/android/maven2/com/beust/klaxon/5.0.1/klaxon-5.0.1.pom
15:59:07.709      - https://jcenter.bintray.com/com/beust/klaxon/5.0.1/klaxon-5.0.1.pom
15:59:07.709    Required by:
15:59:07.709        unspecified:unspecified:unspecified
15:59:07.709  
15:59:07.709  * Try:
15:59:07.709  > Run with --stacktrace option to get the stack trace.
15:59:07.709  > Run with --info or --debug option to get more log output.
15:59:07.709  > Run with --scan to get full insights.
15:59:07.709  > Get more help at https://help.gradle.org.
15:59:07.709  
15:59:07.709  BUILD FAILED in 4s
15:59:07.835  Android build failed (1) after 6 seconds

I tried reinstall Solar2D and remove all core files (from “C” Disk) of it, but it didn’t solved my Problem. I even tried to change the Version to Previous, but it didn’t showed any results.

In addition, the next URLS which Sent Me Compiler are always returns - 404 Error Request (when I open any of it).

You can follow this tutorial or wait for the next update from Solar2D.

3709 has been released and the issue has been fixed.

2 Likes

I am on linux with the snap version. Is it possible to edit the android template? I tried, but snaps are squash inmutable. Any help would be apreciated, thanks. Version 3709 still fail on Linux