Skip to content

The Code on the Go Plugin template does not build offline #949

@Ben-ADFA

Description

@Ben-ADFA

Ref. 2858

Per the user, the Code on the Go Plugin template doesn't build offline. However, the expectation is that ALL templates will build offline. The user's specs are as follows:

App Version: CodeOnTheGo-debug-0209-1150

Android Version: 13

Device: samsung SM-N986U

Log from the user:

CodeOnTheGo (CodeOnTheGo-debug-0209-1150)
Starting build...
The client will now receive all logging from the daemon (pid: 23615). The daemon log file: /data/data/com.itsaky.androidide/files/home/.gradle/daemon/8.14.3/daemon-23615.out.log
Starting build in new daemon [memory: 2.5 GiB]
Using 8 worker leases.
Received JVM installation metadata from '/data/data/com.itsaky.androidide/files/usr/lib/jvm/java-21-openjdk': {JAVA_HOME=/data/data/com.itsaky.androidide/files/usr/lib/jvm/java-21-openjdk, JAVA_VERSION=21.0.10, JAVA_VENDOR=Termux, RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=21.0.10, VM_NAME=OpenJDK 64-Bit Server VM, VM_VERSION=21.0.10, VM_VENDOR=Termux, OS_ARCH=aarch64}
Watching the file system is configured to be enabled if available
File system watching is inactive
Creating ClassLoader 382585c2-2836-4582-82c2-b51f2ad09bfc from {client-owned-class-loader classpath: [file:/data/data/com.itsaky.androidide/files/home/.androidide/tooling-api/tooling-api-all.jar]} and [FilteringClassLoader(VisitableURLClassLoader(ant-and-gradle-loader))].
CoGo clean logs of gradle (8.14.3) task running....
deleting log: daemon-17064.out.log
Starting Build

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all artifacts for configuration 'classpath'.
> Could not resolve com.android.tools.build:gradle:8.11.0.
  Required by:
      unspecified:unspecified:unspecified
   > No cached version of com.android.tools.build:gradle:8.11.0 available for offline mode.
   > No cached version of com.android.tools.build:gradle:8.11.0 available for offline mode.
> Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0.
  Required by:
      unspecified:unspecified:unspecified
   > No cached version of org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0 available for offline mode.
   > No cached version of org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0 available for offline mode.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

CONFIGURE FAILED in 10s

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions