docker image v5 or latest breaks our RN project
sk92129 opened this issue · 1 comments
We have to use v4 of the docker image inside our pipeline.
I noticed that the dockerfile has removed jdk8 and is using jdk11.
Is jdk8 support for a react native project "officially" ending?
3c5a834#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557
Below is the error portion of the console when we invoke: gradlew app:assembleRelease
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring project ':react-native-document-picker'.
Could not resolve all artifacts for configuration ':react-native-document-picker:classpath'.
Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.20.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.analytics-library:shared:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.lint:lint-gradle-api:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:gradle-api:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > androidx.databinding:databinding-compiler-common:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdk-common:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:common:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools.build:manifest-merger:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools.analytics-library:tracker:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdklib:26.3.1 > com.android.tools:repository:26.3.1
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.20.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.20/kotlin-stdlib-jdk8-1.3.20.pom'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.20/kotlin-stdlib-jdk8-1.3.20.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.ow2.asm:asm:6.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta02
> Could not resolve org.ow2.asm:asm:6.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/ow2/asm/asm/6.0/asm-6.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/org/ow2/asm/asm/6.0/asm-6.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.ow2.asm:asm-analysis:6.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1
> Could not resolve org.ow2.asm:asm-analysis:6.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/ow2/asm/asm-analysis/6.0/asm-analysis-6.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/org/ow2/asm/asm-analysis/6.0/asm-analysis-6.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.ow2.asm:asm-commons:6.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta02
> Could not resolve org.ow2.asm:asm-commons:6.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/ow2/asm/asm-commons/6.0/asm-commons-6.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/org/ow2/asm/asm-commons/6.0/asm-commons-6.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.ow2.asm:asm-util:6.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta02
> Could not resolve org.ow2.asm:asm-util:6.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/ow2/asm/asm-util/6.0/asm-util-6.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/org/ow2/asm/asm-util/6.0/asm-util-6.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve net.sf.jopt-simple:jopt-simple:4.9.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1
> Could not resolve net.sf.jopt-simple:jopt-simple:4.9.
> Could not get resource 'https://repo.maven.apache.org/maven2/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve net.sf.proguard:proguard-gradle:6.0.3.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1
> Could not resolve net.sf.proguard:proguard-gradle:6.0.3.
> Could not get resource 'https://repo.maven.apache.org/maven2/net/sf/proguard/proguard-gradle/6.0.3/proguard-gradle-6.0.3.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/net/sf/proguard/proguard-gradle/6.0.3/proguard-gradle-6.0.3.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve com.squareup:javawriter:2.5.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1
> Could not resolve com.squareup:javawriter:2.5.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/squareup/javawriter/2.5.0/javawriter-2.5.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/squareup/javawriter/2.5.0/javawriter-2.5.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.bouncycastle:bcpkix-jdk15on:1.56.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdk-common:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools.build:apkzlib:3.3.1
> Could not resolve org.bouncycastle:bcpkix-jdk15on:1.56.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.bouncycastle:bcprov-jdk15on:1.56.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdk-common:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools.build:apkzlib:3.3.1
> Could not resolve org.bouncycastle:bcprov-jdk15on:1.56.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.ow2.asm:asm-tree:6.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1
> Could not resolve org.ow2.asm:asm-tree:6.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/ow2/asm/asm-tree/6.0/asm-tree-6.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/org/ow2/asm/asm-tree/6.0/asm-tree-6.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve it.unimi.dsi:fastutil:7.2.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1
> Could not resolve it.unimi.dsi:fastutil:7.2.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve com.googlecode.json-simple:json-simple:1.1.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1
> Could not resolve com.googlecode.json-simple:json-simple:1.1.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/googlecode/json-simple/json-simple/1.1/json-simple-1.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve com.google.guava:guava:26.0-jre.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.analytics-library:shared:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.analytics-library:crash:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.lint:lint-gradle-api:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:gradle-api:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > androidx.databinding:databinding-compiler-common:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:bundletool:0.6.0
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:common:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools.analytics-library:tracker:26.3.1
> Could not resolve com.google.guava:guava:26.0-jre.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/google/guava/guava/26.0-jre/guava-26.0-jre.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/google/guava/guava/26.0-jre/guava-26.0-jre.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve com.google.code.gson:gson:2.8.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.analytics-library:shared:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > androidx.databinding:databinding-compiler-common:3.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build.jetifier:jetifier-core:1.0.0-beta02
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdklib:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools.build:manifest-merger:26.3.1
> Could not resolve com.google.code.gson:gson:2.8.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.8.0/gson-2.8.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.8.0/gson-2.8.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.apache.httpcomponents:httpmime:4.5.2.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.analytics-library:crash:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdklib:26.3.1
> Could not resolve org.apache.httpcomponents:httpmime:4.5.2.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpmime/4.5.2/httpmime-4.5.2.pom'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpmime/4.5.2/httpmime-4.5.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.apache.httpcomponents:httpcore:4.4.5.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.analytics-library:crash:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdklib:26.3.1
> Could not resolve org.apache.httpcomponents:httpcore:4.4.5.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.4.5/httpcore-4.4.5.pom'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.4.5/httpcore-4.4.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.apache.httpcomponents:httpclient:4.5.2.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.analytics-library:crash:26.3.1
> Could not resolve org.apache.httpcomponents:httpclient:4.5.2.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.pom'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.jetbrains.kotlin:kotlin-reflect:1.3.20.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.lint:lint-gradle-api:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdk-common:26.3.1
> Could not resolve org.jetbrains.kotlin:kotlin-reflect:1.3.20.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-reflect/1.3.20/kotlin-reflect-1.3.20.pom'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-reflect/1.3.20/kotlin-reflect-1.3.20.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.antlr:antlr4:4.5.3.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > androidx.databinding:databinding-compiler-common:3.3.1
> Could not resolve org.antlr:antlr4:4.5.3.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/org/antlr/antlr4/4.5.3/antlr4-4.5.3.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve commons-io:commons-io:2.4.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > androidx.databinding:databinding-compiler-common:3.3.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 HEAD '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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve com.googlecode.juniversalchardet:juniversalchardet:1.0.3.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > androidx.databinding:databinding-compiler-common:3.3.1
> Could not resolve com.googlecode.juniversalchardet:juniversalchardet:1.0.3.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve com.squareup:javapoet:1.8.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > androidx.databinding:databinding-compiler-common:3.3.1
> Could not resolve com.squareup:javapoet:1.8.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/squareup/javapoet/1.8.0/javapoet-1.8.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/squareup/javapoet/1.8.0/javapoet-1.8.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve com.google.auto.value:auto-value:1.5.2.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:bundletool:0.6.0
> Could not resolve com.google.auto.value:auto-value:1.5.2.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/google/auto/value/auto-value/1.5.2/auto-value-1.5.2.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/google/auto/value/auto-value/1.5.2/auto-value-1.5.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve com.google.errorprone:error_prone_annotations:2.2.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:bundletool:0.6.0
> Could not resolve com.google.errorprone:error_prone_annotations:2.2.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/google/errorprone/error_prone_annotations/2.2.0/error_prone_annotations-2.2.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/google/errorprone/error_prone_annotations/2.2.0/error_prone_annotations-2.2.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve com.google.protobuf:protobuf-java:3.4.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:bundletool:0.6.0
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdk-common:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools.analytics-library:protos:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools.analytics-library:tracker:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:bundletool:0.6.0 > com.android.tools.build:aapt2-proto:0.3.1
> Could not resolve com.google.protobuf:protobuf-java:3.4.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve com.google.protobuf:protobuf-java-util:3.4.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:bundletool:0.6.0
> Could not resolve com.google.protobuf:protobuf-java-util:3.4.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java-util/3.4.0/protobuf-java-util-3.4.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java-util/3.4.0/protobuf-java-util-3.4.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.2.20.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build.jetifier:jetifier-core:1.0.0-beta02
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta02
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.2.20.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.2.20/kotlin-stdlib-1.2.20.pom'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.2.20/kotlin-stdlib-1.2.20.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.jdom:jdom2:2.0.6.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta02
> Could not resolve org.jdom:jdom2:2.0.6.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/jdom/jdom2/2.0.6/jdom2-2.0.6.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/org/jdom/jdom2/2.0.6/jdom2-2.0.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.apache.commons:commons-compress:1.12.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdklib:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdklib:26.3.1 > com.android.tools:repository:26.3.1
> Could not resolve org.apache.commons:commons-compress:1.12.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.12/commons-compress-1.12.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.12/commons-compress-1.12.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve javax.inject:javax.inject:1.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdk-common:26.3.1
> Could not resolve javax.inject:javax.inject:1.
> Could not get resource 'https://repo.maven.apache.org/maven2/javax/inject/javax.inject/1/javax.inject-1.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/javax/inject/javax.inject/1/javax.inject-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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve net.sf.kxml:kxml2:2.3.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools.build:manifest-merger:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools.ddms:ddmlib:26.3.1
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdklib:26.3.1 > com.android.tools.layoutlib:layoutlib-api:26.3.1
> Could not resolve net.sf.kxml:kxml2:2.3.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve com.google.code.findbugs:jsr305:1.3.9.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools.build:apkzlib:3.3.1
> Could not resolve com.google.code.findbugs:jsr305:1.3.9.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve com.google.guava:guava:26.0-jre.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools.build:apkzlib:3.3.1
> Could not resolve com.google.guava:guava:26.0-jre.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/google/guava/guava/26.0-jre/guava-26.0-jre.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/google/guava/guava/26.0-jre/guava-26.0-jre.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.jetbrains:annotations:13.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdklib:26.3.1 > com.android.tools.layoutlib:layoutlib-api:26.3.1
> Could not resolve org.jetbrains:annotations:13.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/annotations/13.0/annotations-13.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/org/jetbrains/annotations/13.0/annotations-13.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve com.sun.activation:javax.activation:1.2.0.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdklib:26.3.1 > com.android.tools:repository:26.3.1
> Could not resolve com.sun.activation:javax.activation:1.2.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve org.glassfish.jaxb:jaxb-runtime:2.2.11.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdklib:26.3.1 > com.android.tools:repository:26.3.1
> Could not resolve org.glassfish.jaxb:jaxb-runtime:2.2.11.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Could not resolve com.google.jimfs:jimfs:1.1.
Required by:
project :react-native-document-picker > com.android.tools.build:gradle:3.3.1 > com.android.tools.build:builder:3.3.1 > com.android.tools:sdklib:26.3.1 > com.android.tools:repository:26.3.1
> Could not resolve com.google.jimfs:jimfs:1.1.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/google/jimfs/jimfs/1.1/jimfs-1.1.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/google/jimfs/jimfs/1.1/jimfs-1.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: https://docs.gradle.org/6.9.1/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
- 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1m 10s
Remote host terminated the handshake
It seems like your failure is network related. Have you investigated why this is happening?
Is jdk8 support for a react native project "officially" ending?
Not really. But AGP 7.x is requiring JDK11. Therefore if we want to use the latest Android APIs we're forced to have JDK to version 11. We could potentially re-add JDK8 to the Docker image, but I doubt that will help your specific scenario.