@Mokssebina wrote:
I’m getting a build error when running the command
ionic cordova build android
Android Studio project detected ANDROID_HOME=C:\Users\Apollo\AppData\Local\Android\sdk JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_251 studio Subproject Path: CordovaLib Subproject Path: app FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'android'. > 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.0 > com.android.tools.build:gradle-core:3.0.0 project : > com.android.tools.build:gradle:3.0.0 > com.android.tools.build:gradle-core:3.0.0 > com.android.tools.build:builder:3.0.0 project : > com.android.tools.build:gradle:3.0.0 > com.android.tools.build:gradle-core:3.0.0 > com.android.tools.lint:lint:26.0.0 project : > com.android.tools.build:gradle:3.0.0 > com.android.tools.build:gradle-core:3.0.0 > com.android.tools.build:builder:3.0.0 > com.android.tools:sdk-common:26.0.0 project : > com.android.tools.build:gradle:3.0.0 > com.android.tools.build:gradle-core:3.0.0 > com.android.tools.build:builder:3.0.0 > com.android.tools:sdklib:26.0.0 > com.android.tools:repository:26.0.0 project : > com.android.tools.build:gradle:3.0.0 > com.android.tools.build:gradle-core:3.0.0 > com.android.tools.lint:lint:26.0.0 > com.android.tools.lint:lint-checks:26.0.0 > com.android.tools.lint:lint-api:26.0.0 > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.1.3-2. > Could not get resource 'http://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.1.3-2/kotlin-stdlib-1.1.3-2.pom'. > Could not GET 'http://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.1.3-2/kotlin-stdlib-1.1.3-2.pom'. Received status code 403 from server: Forbidden > Could not resolve org.ow2.asm:asm:5.1. Required by: project : > com.android.tools.build:gradle:3.0.0 > com.android.tools.build:gradle-core:3.0.0 project : > com.android.tools.build:gradle:3.0.0 > com.android.tools.build:gradle-core:3.0.0 > com.android.tools.build:builder:3.0.0 project : > com.android.tools.build:gradle:3.0.0 > com.android.tools.build:gradle-core:3.0.0 > com.android.tools.lint:lint:26.0.0 > com.android.tools.lint:lint-checks:26.0.0 > com.android.tools.lint:lint-api:26.0.0 > Could not resolve org.ow2.asm:asm:5.1. > Could not get resource 'http://jcenter.bintray.com/org/ow2/asm/asm/5.1/asm-5.1.pom'. > Could not GET 'http://jcenter.bintray.com/org/ow2/asm/asm/5.1/asm-5.1.pom'. Received status code 403 from server: Forbidden > Could not resolve org.ow2.asm:asm-analysis:5.1. Required by: project : > com.android.tools.build:gradle:3.0.0 > com.android.tools.build:gradle-core:3.0.0 project : > com.android.tools.build:gradle:3.0.0 > com.android.tools.build:gradle-core:3.0.0 > com.android.tools.lint:lint:26.0.0 > com.android.tools.lint:lint-checks:26.0.0 > Could not resolve org.ow2.asm:asm-analysis:5.1. > Could not get resource 'http://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.1/asm-analysis-5.1.pom'. > Could not GET 'http://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.1/asm-analysis-5.1.pom'. Received status code 403 from server: Forbidden > Could not resolve org.ow2.asm:asm-commons:5.1. Required by: project : > com.android.tools.build:gradle:3.0.0 > com.android.tools.build:gradle-core:3.0.0 project : > com.android.tools.build:gradle:3.0.0 > com.android.tools.build:gradle-core:3.0.0 > com.android.tools.build:builder:3.0.0 > Could not resolve org.ow2.asm:asm-commons:5.1. > Could not get resource 'http://jcenter.bintray.com/org/ow2/asm/asm-commons/5.1/asm-commons-5.1.pom'. > Could not GET 'http://jcenter.bintray.com/org/ow2/asm/asm-commons/5.1/asm-commons-5.1.pom'. Received status * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. * Get more help at https://help.gradle.org
I have tried a bunch of suggested solutions. Really need help here…
Posts: 1
Participants: 1