Manual Build for android works in one system but fails in another

Hi! Good day!
I’ve been trying to setup a secondary backup system with gdevelop. Everything works okay until I tried to do a manual build for android.
On the first system it’s all good. Did the usual android studio, node js, java, gradle, environment paths, etc.
It just works.
Tried to do the same thing on the second pc. Mirrored the exact same steps as the first. But then when I try to make a test apk, with “cordova build android” it fails.

FAILURE: Build failed with an exception.

Please can you guys help me fix this?

I’ll just put the details in the next comment since it might be daunting to look at if I put it here.
edit: ah… apparently I can’t post it all due to the character limit… Also it’s awaiting approval from a moderator…

1 Like

C:\Users\Levio\Desktop\Manual Build>cordova build android
Checking Java JDK and Android SDK versions
ANDROID_HOME=undefined (recommended setting)
ANDROID_SDK_ROOT=undefined (DEPRECATED)
Using Android SDK: undefined
Starting a Gradle Daemon (subsequent builds will be faster)

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use ‘–warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See Command-Line Interface

BUILD SUCCESSFUL in 23s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘Sky_Knights’.

Could not resolve all files for configuration ‘:classpath’.
Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31.
Required by:
project : > com.android.tools.build:gradle:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools:sdk-common:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools:repository:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.ddms:ddmlib:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.build:aaptcompiler:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.analytics-library:shared:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.lint:lint-model:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > androidx.databinding:databinding-compiler-common:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.utp:android-test-plugin-host-retention-proto:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.build:builder:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.build:builder-model:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.build:gradle-api:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools:sdk-common:30.2.1 > com.android.tools:common:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.build:builder:7.2.1 > com.android.tools.analytics-library:tracker:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.build:builder:7.2.1 > com.android.tools.build:manifest-merger:30.2.1
Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31.
Could not get resource ‘https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.5.31/kotlin-stdlib-jdk8-1.5.31.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.5.31/kotlin-stdlib-jdk8-1.5.31.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve org.apache.httpcomponents:httpmime:4.5.6.
Required by:
project : > com.android.tools.build:gradle:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools:sdklib:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.analytics-library:crash:30.2.1
Could not resolve org.apache.httpcomponents:httpmime:4.5.6.
Could not parse POM https://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpmime/4.5.6/httpmime-4.5.6.pom
Could not resolve org.apache.httpcomponents:httpcomponents-client:4.5.6.
Could not resolve org.apache.httpcomponents:httpcomponents-client:4.5.6.
Could not get resource ‘https://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.5.6/httpcomponents-client-4.5.6.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.5.6/httpcomponents-client-4.5.6.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve commons-io:commons-io:2.4.
Required by:
project : > com.android.tools.build:gradle:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > androidx.databinding:databinding-compiler-common:7.2.1
Could not resolve commons-io:commons-io:2.4.
Could not get resource ‘https://repo.maven.apache.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve org.ow2.asm:asm-analysis:9.1.
Required by:
project : > com.android.tools.build:gradle:7.2.1
Could not resolve org.ow2.asm:asm-analysis:9.1.
Could not parse POM https://repo.maven.apache.org/maven2/org/ow2/asm/asm-analysis/9.1/asm-analysis-9.1.pom
Could not resolve org.ow2:ow2:1.5.
Could not resolve org.ow2:ow2:1.5.
Could not get resource ‘https://repo.maven.apache.org/maven2/org/ow2/ow2/1.5/ow2-1.5.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/org/ow2/ow2/1.5/ow2-1.5.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve org.ow2.asm:asm-commons:9.1.
Required by:
project : > com.android.tools.build:gradle:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.build:builder:7.2.1
Could not resolve org.ow2.asm:asm-commons:9.1.
Could not get resource ‘https://repo.maven.apache.org/maven2/org/ow2/asm/asm-commons/9.1/asm-commons-9.1.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/org/ow2/asm/asm-commons/9.1/asm-commons-9.1.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve org.ow2.asm:asm-util:9.1.
Required by:
project : > com.android.tools.build:gradle:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.build:builder:7.2.1
Could not resolve org.ow2.asm:asm-util:9.1.
Could not get resource ‘https://repo.maven.apache.org/maven2/org/ow2/asm/asm-util/9.1/asm-util-9.1.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/org/ow2/asm/asm-util/9.1/asm-util-9.1.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve org.glassfish.jaxb:jaxb-runtime:2.3.2.
Required by:
project : > com.android.tools.build:gradle:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools:sdk-common:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools:sdklib:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools:repository:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > androidx.databinding:databinding-compiler-common:7.2.1
Could not resolve org.glassfish.jaxb:jaxb-runtime:2.3.2.
Could not parse POM https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-runtime/2.3.2/jaxb-runtime-2.3.2.pom
Could not resolve com.sun.xml.bind.mvn:jaxb-runtime-parent:2.3.2.
Could not resolve com.sun.xml.bind.mvn:jaxb-runtime-parent:2.3.2.
Could not get resource ‘https://repo.maven.apache.org/maven2/com/sun/xml/bind/mvn/jaxb-runtime-parent/2.3.2/jaxb-runtime-parent-2.3.2.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/com/sun/xml/bind/mvn/jaxb-runtime-parent/2.3.2/jaxb-runtime-parent-2.3.2.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve com.squareup:javapoet:1.10.0.
Required by:
project : > com.android.tools.build:gradle:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > androidx.databinding:databinding-compiler-common:7.2.1
Could not resolve com.squareup:javapoet:1.10.0.
Could not get resource ‘https://repo.maven.apache.org/maven2/com/squareup/javapoet/1.10.0/javapoet-1.10.0.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/com/squareup/javapoet/1.10.0/javapoet-1.10.0.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve com.google.protobuf:protobuf-java-util:3.10.0.
Required by:
project : > com.android.tools.build:gradle:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.build:bundletool:1.8.2
Could not resolve com.google.protobuf:protobuf-java-util:3.10.0.
Could not get resource ‘https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java-util/3.10.0/protobuf-java-util-3.10.0.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java-util/3.10.0/protobuf-java-util-3.10.0.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve com.google.code.gson:gson:2.8.6.
Required by:
project : > com.android.tools.build:gradle:7.2.1
project : > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools:sdk-common:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools:sdklib:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.analytics-library:shared:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > androidx.databinding:databinding-compiler-common:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.build:builder:7.2.1 > com.android.tools.build:manifest-merger:30.2.1
Could not resolve com.google.code.gson:gson:2.8.6.
Could not get resource ‘https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.8.6/gson-2.8.6.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.8.6/gson-2.8.6.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve io.grpc:grpc-core:1.21.1.
Required by:
project : > com.android.tools.build:gradle:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.2.1
Could not resolve io.grpc:grpc-core:1.21.1.
Could not get resource ‘https://repo.maven.apache.org/maven2/io/grpc/grpc-core/1.21.1/grpc-core-1.21.1.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/io/grpc/grpc-core/1.21.1/grpc-core-1.21.1.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve io.grpc:grpc-netty:1.21.1.
Required by:
project : > com.android.tools.build:gradle:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.2.1
Could not resolve io.grpc:grpc-netty:1.21.1.
Could not get resource ‘https://repo.maven.apache.org/maven2/io/grpc/grpc-netty/1.21.1/grpc-netty-1.21.1.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/io/grpc/grpc-netty/1.21.1/grpc-netty-1.21.1.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve io.grpc:grpc-protobuf:1.21.1.
Required by:
project : > com.android.tools.build:gradle:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.2.1
Could not resolve io.grpc:grpc-protobuf:1.21.1.
Could not get resource ‘https://repo.maven.apache.org/maven2/io/grpc/grpc-protobuf/1.21.1/grpc-protobuf-1.21.1.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/io/grpc/grpc-protobuf/1.21.1/grpc-protobuf-1.21.1.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve io.grpc:grpc-stub:1.21.1.
Required by:
project : > com.android.tools.build:gradle:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.2.1
Could not resolve io.grpc:grpc-stub:1.21.1.
Could not get resource ‘https://repo.maven.apache.org/maven2/io/grpc/grpc-stub/1.21.1/grpc-stub-1.21.1.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/io/grpc/grpc-stub/1.21.1/grpc-stub-1.21.1.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve com.google.crypto.tink:tink:1.3.0-rc2.
Required by:
project : > com.android.tools.build:gradle:7.2.1
Could not resolve com.google.crypto.tink:tink:1.3.0-rc2.
Could not get resource ‘https://repo.maven.apache.org/maven2/com/google/crypto/tink/tink/1.3.0-rc2/tink-1.3.0-rc2.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/com/google/crypto/tink/tink/1.3.0-rc2/tink-1.3.0-rc2.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve org.jetbrains.dokka:dokka-core:1.4.32.
Required by:
project : > com.android.tools.build:gradle:7.2.1
Could not resolve org.jetbrains.dokka:dokka-core:1.4.32.
Could not get resource ‘https://repo.maven.apache.org/maven2/org/jetbrains/dokka/dokka-core/1.4.32/dokka-core-1.4.32.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/org/jetbrains/dokka/dokka-core/1.4.32/dokka-core-1.4.32.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve com.google.flatbuffers:flatbuffers-java:1.12.0.
Required by:
project : > com.android.tools.build:gradle:7.2.1
project : > com.android.tools.build:gradle:7.2.1 > org.tensorflow:tensorflow-lite-metadata:0.1.0-rc2
Could not resolve com.google.flatbuffers:flatbuffers-java:1.12.0.
Could not get resource ‘https://repo.maven.apache.org/maven2/com/google/flatbuffers/flatbuffers-java/1.12.0/flatbuffers-java-1.12.0.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/com/google/flatbuffers/flatbuffers-java/1.12.0/flatbuffers-java-1.12.0.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.5.21.
Required by:
project : > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21
Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.5.21.
Could not get resource ‘https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin-model/1.5.21/kotlin-gradle-plugin-model-1.5.21.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin-model/1.5.21/kotlin-gradle-plugin-model-1.5.21.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve org.jetbrains.kotlin:kotlin-util-klib:1.5.21.
Required by:
project : > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21
Could not resolve org.jetbrains.kotlin:kotlin-util-klib:1.5.21.
Could not get resource ‘https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-util-klib/1.5.21/kotlin-util-klib-1.5.21.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-util-klib/1.5.21/kotlin-util-klib-1.5.21.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve org.jetbrains.kotlin:kotlin-tooling-metadata:1.5.21.
Required by:
project : > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21
Could not resolve org.jetbrains.kotlin:kotlin-tooling-metadata:1.5.21.
Could not get resource ‘https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-tooling-metadata/1.5.21/kotlin-tooling-metadata-1.5.21.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-tooling-metadata/1.5.21/kotlin-tooling-metadata-1.5.21.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve org.jetbrains.kotlin:kotlin-project-model:1.5.21.
Required by:
project : > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21
project : > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21 > org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.5.21
Could not resolve org.jetbrains.kotlin:kotlin-project-model:1.5.21.
Could not get resource ‘https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-project-model/1.5.21/kotlin-project-model-1.5.21.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-project-model/1.5.21/kotlin-project-model-1.5.21.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure
Could not resolve org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.21.
Required by:
project : > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21
Could not resolve org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.21.
Could not get resource ‘https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.5.21/kotlin-compiler-embeddable-1.5.21.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.5.21/kotlin-compiler-embeddable-1.5.21.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
Received fatal alert: handshake_failure

1 Like