Ionic Archive 2.1.0 throwing errors

Bitrise Build Issue Report template

Description of the issue

We have the ionic archive 2.1.0 step in our workflow to deploy our android version from the mobile app. In our latest scheduled builds from this week, we are seeing a new error in the process:
First:

Download https://jcenter.bintray.com/org/codehaus/mojo/mojo-parent/40/mojo-parent-40.pom

Download https://jcenter.bintray.com/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.pom

Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence.

java.lang.IllegalStateException: compileSdkVersion is not specified.
......

and then:

FAILURE: Build failed with an exception.
* Where:
Build file '/Users/vagrant/git/platforms/android/app/build.gradle' line: 96
* What went wrong:
A problem occurred evaluating project ':app'.
> Could not resolve all files for configuration 'classpath'.
   > Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.60-eap-25.
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.60-eap-25/kotlin-stdlib-jdk8-1.3.60-eap-25.pom
         https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.60-eap-25/kotlin-stdlib-jdk8-1.3.60-eap-25.jar
         https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.60-eap-25/kotlin-stdlib-jdk8-1.3.60-eap-25.pom
         https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.60-eap-25/kotlin-stdlib-jdk8-1.3.60-eap-25.jar
         https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.60-eap-25/kotlin-stdlib-jdk8-1.3.60-eap-25.pom
         https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.60-eap-25/kotlin-stdlib-jdk8-1.3.60-eap-25.jar
     Required by:
         unspecified:unspecified:unspecified > com.android.tools.build:gradle:4.0.0-alpha01

We haven’t introduced any changes to config.xml file or changed information regarding gradle, we don’t know if something changed in the step itself.

Environment:

Where did the issue happen?

If on Bitrise.io: which stack? If not on Bitrise.io: on what operating system? (Plus any other information you can share)
Visual studio for Mac, stable channel (macOS 10.14.4 Mojave)

Which build Step causes the issue and which version of the step?

ionic-archive@2.1.0

Reproducibility

  • _Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build): NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. NO
  • Does the issue happen sporadically, or every time? : every time
  • Does upgrading the build Step to the latest version help? : NO, updated from 2.0.0 to 2.1.0
  • When did the issue start? : Last successful android deploy was on October 9th

Please copy paste the build’s bitrise.io URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - https://www.bitrise.io/contact ), with a link to the related Discuss issue.
More details are going to be provided in a private channel.

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