Im trying to build my game in unity using gradle but everytime that i tried i get this error:
pls somebody help out with this
CommandInvokationFailure: Gradle build failed.
C:/Program Files/Java/jdk1.8.0_211\bin\java.exe -classpath “C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.2.1.jar” org.gradle.launcher.GradleMain “-Dorg.gradle.jvmargs=-Xmx2048m” “assembleRelease”
stderr[
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project ‘gradleOut’.
Could not resolve all files for configuration ‘:classpath’.
Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.1.3-2.
Required by:
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1 > com.android.tools.build:builder:3.0.1
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1 > com.android.tools.lint:lint:26.0.1
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1 > com.android.tools.build:builder:3.0.1 > com.android.tools:sdk-common:26.0.1
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1 > com.android.tools.build:builder:3.0.1 > com.android.tools:sdklib:26.0.1 > com.android.tools:repository:26.0.1
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1 > com.android.tools.lint:lint:26.0.1 > com.android.tools.lint:lint-checks:26.0.1 > com.android.tools.lint:lint-api:26.0.1
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1 > com.android.tools.lint:lint:26.0.1 > com.android.tools.lint:lint-checks:26.0.1 > com.android.tools.lint:lint-api:26.0.1 > org.jetbrains.kotlin:kotlin-reflect:1.1.3-2
Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.1.3-2.
Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.1.3-2/kotlin-stdlib-1.1.3-2.pom’.
Could not GET ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.1.3-2/kotlin-stdlib-1.1.3-2.pom’.
jcenter.bintray.com
Could not resolve org.ow2.asm:asm:5.1.
Required by:
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1 > com.android.tools.build:builder:3.0.1
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1 > com.android.tools.lint:lint:26.0.1 > com.android.tools.lint:lint-checks:26.0.1 > com.android.tools.lint:lint-api:26.0.1
Could not resolve org.ow2.asm:asm:5.1.
Could not get resource ‘https://jcenter.bintray.com/org/ow2/asm/asm/5.1/asm-5.1.pom’.
Could not GET ‘https://jcenter.bintray.com/org/ow2/asm/asm/5.1/asm-5.1.pom’.
jcenter.bintray.com
Could not resolve org.ow2.asm:asm-analysis:5.1.
Required by:
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1
project : > com.android.tools.build:gradle:3.0.1 > com.android.tools.build:gradle-core:3.0.1 > com.android.tools.lint:lint:26.0.1 > com.android.tools.lint:lint-checks:26.0.1
Could not resolve org.ow2.asm:asm-analysis:5.1.
Could not get resource ‘https://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.1/asm-analysis-5.1.pom’.
Could not GET ‘https://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.1/asm-analysis-5.1.pom’.
jcenter.bintray.com
This is just a part of the error’s text bc as i am a new user im just allowed to post up to 10 links
Summary
This text will be hidden