Error while building App

A few days ago I compiled my apps with Solar2D 2022.3682 without problems, today I tried to compile one of my apps and I couldn’t. I tried with several apps and the same thing happens, I tried to compile with 2022.3683 and the same thing.

This is the error that appears in the console, I await your comments. Thank you:

*FAILURE: Build failed with an exception.*

** What went wrong:*
*Timeout waiting to connect to the Gradle daemon.*
*Daemon uid: e796139d-a1a7-42d9-864e-c1f348f88663 with diagnostics:*
*Daemon pid: 10928*
*log file: C:\Users\Pablo\.gradle\daemon\6.8.3\daemon-10928.out.log*
*----- Last 20 lines from daemon log file - daemon-10928.out.log -----*
*2022-11-24T14:44:10.151-0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.*
*2022-11-24T14:44:10.152-0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.*
*2022-11-24T14:44:10.152-0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.*
*2022-11-24T14:44:10.152-0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.*
*2022-11-24T14:44:10.152-0300 [LIFECYCLE] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon will be stopped at the end of the build after being idle for 2 minutes*
*2022-11-24T14:44:10.152-0300 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Marking daemon stopped due to after being idle for 2 minutes. The daemon is running a build: false*
*2022-11-24T14:44:10.153-0300 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon has stopped.*
*2022-11-24T14:44:10.153-0300 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] stop() called on daemon*
*2022-11-24T14:44:10.153-0300 [INFO] [org.gradle.launcher.daemon.server.Daemon] Stop requested. Daemon is removing its presence from the registry...*
*2022-11-24T14:44:10.153-0300 [DEBUG] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater] Removing our presence to clients, eg. removing this address from the registry: [95c271ad-7149-4060-8ba0-441dd55061b1 port:58295, addresses:[localhost/[127.0.0.1](http://127.0.0.1)]]*
*2022-11-24T14:44:10.153-0300 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Removing daemon address: [95c271ad-7149-4060-8ba0-441dd55061b1 port:58295, addresses:[localhost/[127.0.0.1](http://127.0.0.1)]]*
*2022-11-24T14:44:10.154-0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry.*
*2022-11-24T14:44:10.154-0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.*
*2022-11-24T14:44:10.155-0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.*
*2022-11-24T14:44:10.155-0300 [DEBUG] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater] Address removed from registry.*
*2022-11-24T14:44:10.157-0300 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Daemon vm is shutting down... The daemon has exited normally or was terminated in response to a user interrupt.*
*Removing daemon address: [95c271ad-7149-4060-8ba0-441dd55061b1 port:58295, addresses:[localhost/[127.0.0.1](http://127.0.0.1)]]*
*2022-11-24T14:44:10.158-0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry.*
*2022-11-24T14:44:10.158-0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.*
*2022-11-24T14:44:10.162-0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.*
*----- End of the daemon log -----*

** Try:*
*Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.*

** Get more help at https://help.gradle.org*
*Picked up JAVA_TOOL_OPTIONS: -Duser.language=en*
*Android build failed (1) after 220 seconds*

Usually, this is caused by a file access issue. Try restarting. Also make sure anti-virus, spam scan, or any other app is not holding onto those files.

1 Like

I’ve tried all of that and it hasn’t worked, even disabling windows firewall. I’ll keep looking, if you have any other ideas I’d appreciate it.

have someone send you the folder .gradle and replace yours

Hi
Please help me to fix the following error (2022.3685) (2022.12.21)

10:59:07.544  Warning: 
10:59:07.544  The signer's certificate is self-signed.
10:59:07.544  
10:59:07.544  The timestamp will expire on 2031-11-10.
10:59:07.544  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
10:59:22.007  Excluding specified files from build: 
10:59:22.007     excluding: LaunchScreen.storyboardc
10:59:22.007     excluding: Icon.png
10:59:22.007     excluding: Icon-*dpi.png
10:59:22.007     excluding: Images.xcassets
10:59:22.007  
10:59:22.007  FAILURE: Build failed with an exception.
10:59:22.007  
10:59:22.007  * What went wrong:
10:59:22.007  Could not resolve all artifacts for configuration 'classpath'.
10:59:22.007  > Could not resolve com.beust:klaxon:5.0.1.
10:59:22.007    Required by:
10:59:22.007        unspecified:unspecified:unspecified
10:59:22.007     > Could not resolve com.beust:klaxon:5.0.1.
10:59:22.007        > Could not get resource 'https://jcenter.bintray.com/com/beust/klaxon/5.0.1/klaxon-5.0.1.pom'.
10:59:22.007           > Could not GET 'https://jcenter.bintray.com/com/beust/klaxon/5.0.1/klaxon-5.0.1.pom'. Received status code 403 from server: Forbidden
10:59:22.007  
10:59:22.007  * Try:
10:59:22.007  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
10:59:22.007  
10:59:22.007  * Get more help at https://help.gradle.org
10:59:22.007  
10:59:22.007  BUILD FAILED in 11s
10:59:22.007  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
10:59:22.282  Android build failed (1) after 15 seconds