AndroidIDEOfficial / AndroidIDE

AndroidIDE is an IDE for Android to develop full featured Android apps.
https://m.androidide.com
GNU General Public License v3.0
2.08k stars 245 forks source link

Project intialization fails #1789

Closed Tanzin01 closed 2 months ago

Tanzin01 commented 2 months ago

Issue Checklist

Additional terms

Issue explanation

Project initilization fails. This started all of a sudden. From then on this error persists. Tried uninstalling, disabling log. Fdroid version, beta , from action. Nothing works. Tried vpn too.

Expected behavior

Initialization happens without errors

Version name

Beta7.1

Download source

GitHub

Relevant log output

This occurs normally-
FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration 'classpath'.
> Could not resolve com.itsaky.androidide:gradle-plugin:2.7.1-beta.
  Required by:
      unspecified:unspecified:unspecified
   > Could not resolve com.itsaky.androidide:gradle-plugin:2.7.1-beta.
      > Could not get resource 'https://s01.oss.sonatype.org/content/repositories/snapshots/com/itsaky/androidide/gradle-plugin/2.7.1-beta/gradle-plugin-2.7.1-beta.pom'.
         > Could not GET 'https://s01.oss.sonatype.org/content/repositories/snapshots/com/itsaky/androidide/gradle-plugin/2.7.1-beta/gradle-plugin-2.7.1-beta.pom'.
            > Connect to s01.oss.sonatype.org:443 [s01.oss.sonatype.org/54.165.221.39, s01.oss.sonatype.org/35.171.94.128] failed: Read timed out

* 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://he

Tried a v7 architecture-
Starting build...
The client will now receive all logging from the daemon (pid: 31106). The daemon log file: /data/data/com.itsaky.androidide/files/home/.gradle/daemon/8.1.1/daemon-31106.out.log
Starting build in new daemon [memory: 512 MiB]
Closing daemon's stdin at end of input.
The daemon will no longer process any standard input.
Using 8 worker leases.
Received JVM installation metadata from '/data/data/com.itsaky.androidide/files/usr/opt/openjdk-17.0': {JAVA_HOME=/data/data/com.itsaky.androidide/files/usr/opt/openjdk-17.0, JAVA_VERSION=17-internal, JAVA_VENDOR=N/A, RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=17-internal+0-adhoc.root.src, VM_NAME=OpenJDK Server VM, VM_VERSION=17-internal+0-adhoc.root.src, VM_VENDOR=Oracle Corporation, OS_ARCH=arm}
Watching the file system is configured to be enabled if available
File system watching is inactive
Creating ClassLoader 2eb433ce-f3ad-4029-b90d-6e46c3e19a71 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))].
Compiling initialization script '/data/data/com.itsaky.androidide/files/home/.androidide/init/init.gradle' using SubsetScriptTransformer.
The configuration classpath is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
The configuration classpath is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
The configuration classpath is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
The configuration classpath is both consumable and declarable. This combination is incorrect, only one of these flags should be set.

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration 'classpath'.
> Could not resolve com.itsaky.androidide:gradle-plugin:2.7.1-beta.
  Required by:
      unspecified:unspecified:unspecified
   > Could not resolve com.itsaky.androidide:gradle-plugin:2.7.1-beta.
      > Could not get resource 'https://s01.oss.sonatype.org/content/repositories/snapshots/com/itsaky/androidide/gradle-plugin/2.7.1-beta/gradle-plugin-2.7.1-beta.pom'.
         > Could not GET 'https://s01.oss.sonatype.org/content/repositories/snapshots/com/itsaky/androidide/gradle-plugin/2.7.1-beta/gradle-plugin-2.7.1-beta.pom'.
            > Connect to s01.oss.sonatype.org:443 [s01.oss.sonatype.org/54.165.221.39, s01.oss.sonatype.org/35.171.94.128] failed: Read timed out

* 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 5m 29s