Ionic.io compilation not working?

Hello,

Since yesterday I’m compiling my project using ionic package build android --profile Production and I get always an error. is everything right or is anyone experiencing also the same problem.

I check ionic.io and I get this message:

ANDROID_HOME=/usr/local/src/android-sdk-linux
JAVA_HOME=/usr/lib/jvm/java-8-oracle

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘android’.

Could not resolve all dependencies for configuration ‘:classpath’.
Timeout waiting to lock artifact cache (/home/package/.gradle/caches/modules-2). It is currently in use by another Gradle instance.
Owner PID: 5306
Our PID: 32155
Owner Operation: resolve configuration ‘:classpath’
Our operation: resolve configuration ‘:classpath’
Lock file: /home/package/.gradle/caches/modules-2/modules-2.lock

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1 mins 2.035 secs
Error: Error code 1 for command: /home/package/workspace/

Thanks in advance and merry Christmas!

1 Like

i have the same issue

Hi unfg,

I think it should be something global. If I check that is working again I will write here. Hope you, could do the same.

Thanks and merry Christmas.

Seems to me that I am also suffering from the same problem. I hope they will look into it as soon as possible.

Its some comfort though, to see its not my solution causing the build errors…

Merry Christmas!

Same issue for me, Error:

id │ 7
** status │ FAILED**
** platform │ android**
** mode │ debug**
** started │ Dec 26th, 2016 11:00:40**

output:

ANDROID_HOME=/usr/local/src/android-sdk-linux
JAVA_HOME=/usr/lib/jvm/java-8-oracle

FAILURE: Build failed with an exception.

*** What went wrong:**
A problem occurred configuring root project ‘android’.
> Could not resolve all dependencies for configuration ‘:classpath’.
** > Timeout waiting to lock artifact cache (/home/package/.gradle/caches/modules-2). It is currently in use by another Gradle instance.**
** Owner PID: 5306**
** Our PID: 8518**
** Owner Operation: resolve configuration ‘:classpath’**
** Our operation: resolve configuration ‘:classpath’**
** Lock file: /home/package/.gradle/caches/modules-2/modules-2.lock**

Hi, i have the same issue.

Hi, is working again!