Using Xojo to make Android App, I have experienced the same failure for many many times.
In most time, my compiling was successful. But I met failure at some times.
Today, I try to copy error message and find the solution.
The error message seemed only one line in Xojo IDE, but when I copy and paste to other place, the error message is very detail.
Here is the error message:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project ‘(AppName)’.
Could not resolve all artifacts for configuration ‘classpath’.
Could not download gradle-8.13.0.jar (com.android.tools.build:gradle:8.13.0)
Could not get resource ‘https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/8.13.0/gradle-8.13.0.jar’.
Read timed out
Could not download builder-8.13.0.jar (com.android.tools.build:builder:8.13.0)
Could not get resource ‘https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/8.13.0/builder-8.13.0.jar’.
Read timed out
Could not download sdk-common-31.13.0.jar (com.android.tools:sdk-common:31.13.0)
Could not get resource ‘https://dl.google.com/dl/android/maven2/com/android/tools/sdk-common/31.13.0/sdk-common-31.13.0.jar’.
Read timed out
Could not download sdklib-31.13.0.jar (com.android.tools:sdklib:31.13.0)
Could not get resource ‘https://dl.google.com/dl/android/maven2/com/android/tools/sdklib/31.13.0/sdklib-31.13.0.jar’.
Read timed out
* 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.
BUILD FAILED in 14m 27s
=========================================================
According to the above error message, I check the problem is due to No Web Connection.
When I connect to Internet via mobile phone, the compiling becomes successful.
Today, I begin to know that, Xojo 1st compiling for Android App need to download several files (SDK) from Google.
In the 2nd or later compiling for the project, the Internet connection is not necessary.
In previous several months, I did not know this. Therefore I met compiling failure sometimes.
Now I suggest Xojo to show the detail compiling progress: for example “Downloading SDK from Google”.
And Xojo may show detail error message, including Android SDK downloading failed.
If the error message is very clear, all new Xojo users may have a more smooth process to compile Android App.
Thank you!