Android build failed!

Hey, I’ve got a problem with packaging a android apk
here’s output:
FAILURE: Build failed with an exception.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): * What went wrong:
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): A problem occurred configuring root project ‘app’.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > Could not resolve all artifacts for configuration ‘:classpath’.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.72.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Required by:
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): project : > com.android.tools.build:gradle:4.0.0
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): project : > com.android.tools.build:gradle:4.0.0 > com.android.tools.build:builder:4.0.0
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): project : > com.android.tools.build:gradle:4.0.0 > com.android.tools.build:aaptcompiler:4.0.0
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): project : > com.android.tools.build:gradle:4.0.0 > com.android.tools.lint:lint-gradle-api:27.0.0
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): project : > com.android.tools.build:gradle:4.0.0 > com.android.tools.build:gradle-api:4.0.0
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): project : > com.android.tools.build:gradle:4.0.0 > androidx.databinding:databinding-compiler-common:4.0.0
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): project : > com.android.tools.build:gradle:4.0.0 > com.android.tools.build:builder:4.0.0 > com.android.tools:sdk-common:27.0.0
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): project : > com.android.tools.build:gradle:4.0.0 > com.android.tools.build:builder:4.0.0 > com.android.tools:common:27.0.0
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): project : > com.android.tools.build:gradle:4.0.0 > com.android.tools.build:builder:4.0.0 > com.android.tools.build:manifest-merger:27.0.0
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): project : > com.android.tools.build:gradle:4.0.0 > com.android.tools.build:builder:4.0.0 > com.android.tools.analytics-library:tracker:27.0.0
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): project : > com.android.tools.build:gradle:4.0.0 > com.android.tools.build:builder:4.0.0 > com.android.tools:sdklib:27.0.0 > com.android.tools:repository:27.0.0
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): project : > com.android.tools.build:gradle:4.0.0 > com.android.tools.build:builder:4.0.0 > com.android.tools:sdk-common:27.0.0 > com.android.tools.analytics-library:shared:27.0.0
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.72.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.72/kotlin-stdlib-jdk8-1.3.72.pom’.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > Could not GET ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.72/kotlin-stdlib-jdk8-1.3.72.pom’.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > Could not resolve org.ow2.asm:asm:7.0.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Required by:

Any solutions for it?

Changed Java loc and worked

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.