Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Build APK

Log

[08:36:57] Creating local.properties...

[08:36:57] Injecting www...

[08:36:58] Updating strings.xml...

[08:36:58] Patching manifest...

[08:36:58] Injecting icons...

[08:36:58] Updating Gradle...

[08:36:58] Building APK...

[08:36:59] Downloading https://services.gradle.org/distributions/gradle-8.2.1-all.zip

[08:37:10] Exception in thread "main" java.io.IOException: Downloading from https://services.gradle.org/distributions/gradle-8.2.1-all.zip failed: timeout (10000ms)

[08:37:10] at org.gradle.wrapper.Install.forceFetch(SourceFile:4) at org.gradle.wrapper.Install$1.call(SourceFile:8) at org.gradle.wrapper.GradleWrapperMain.main(SourceFile:67) Caused by: java.net.SocketTimeoutException: Connect timed out at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:551) at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) at java.base/java.net.Socket.connect(Socket.java:639) at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304) at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178) at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:533) at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:638) at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266) at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193) at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1265) at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1151) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179)</init>

[08:37:10] at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect0(HttpURLConnection.java:2987) at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:2896) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1992) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1644) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) at org.gradle.wrapper.Install.forceFetch(SourceFile:2) ... 2 more

[08:37:10] Error invoking remote method 'build-apk': Error: APK not generated

[08:37:16] Signing method: Auto Signed

Ahhh, the error is obvious. When building an APK for the first time, make sure you have a stable internet connection. Ag APK Builder requires Gradle to build APKs and AABs. So, if the internet is down or slow, the download and installation will fail. This only applies to the first build.

I have internet access, but I still can't download anything. Is it possible to integrate everything together without needing to download it separately?

It can be used directly without a network.

Okay, maybe tomorrow I will upload a truly portable one without internet, because there are some things that need to be changed, thank you for your enthusiasm. 😄