New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution failed for task ':buildMetadata'. #2402

Closed
calacianu opened this Issue Jan 10, 2017 · 11 comments

Comments

Projects
None yet
2 participants
@calacianu

calacianu commented Jan 10, 2017

Every time I run tns build android I get this error:

  • What went wrong:
    Execution failed for task ':buildMetadata'.

Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 137

It's very frustrating no getting the job done. this platform is so, so buggy

@Pip3r4o

This comment has been minimized.

Show comment
Hide comment
@Pip3r4o

Pip3r4o Jan 11, 2017

Contributor

@calacianu please provide more details regarding your project setup.

What versions of the nativescript CLI, nativescript core-modules and the nativescript android runtime are you using? (tns info)

Are you using any plugins in your projects?

How can we reproduce that crash?

Meanwhile you could try tns platform remove android && tns platform add android before firing up your project the next time and see if that helps.

Thanks!

Contributor

Pip3r4o commented Jan 11, 2017

@calacianu please provide more details regarding your project setup.

What versions of the nativescript CLI, nativescript core-modules and the nativescript android runtime are you using? (tns info)

Are you using any plugins in your projects?

How can we reproduce that crash?

Meanwhile you could try tns platform remove android && tns platform add android before firing up your project the next time and see if that helps.

Thanks!

@calacianu

This comment has been minimized.

Show comment
Hide comment
@calacianu

calacianu Jan 11, 2017

Hi, thank you for your quick response.
This is my tns info output:
┌──────────────────┬─────────────────┬────────────────┬───────────────┐
│ Component │ Current version │ Latest version │ Information │
│ nativescript │ 2.4.2 │ 2.4.2 │ Up to date │
│ tns-core-modules │ │ 2.4.4 │ Not installed │
│ tns-android │ │ 2.4.1 │ Not installed │
│ tns-ios │ │ 2.4.0 │ Not installed │
└──────────────────┴─────────────────┴────────────────┴───────────────┘
I tried removing and adding the android platform.
Steps to reproduce:

  1. create a simple app
  2. and android platform
  3. run tns prepare android - build successfully
  4. run tns build android - I get this error and another one regarding Execution failed for task ':transformClassesWithDexForF0Debug'., but I posted it into another ticket

I used no plugins and the OS is Ubuntu 14

Thank you!

calacianu commented Jan 11, 2017

Hi, thank you for your quick response.
This is my tns info output:
┌──────────────────┬─────────────────┬────────────────┬───────────────┐
│ Component │ Current version │ Latest version │ Information │
│ nativescript │ 2.4.2 │ 2.4.2 │ Up to date │
│ tns-core-modules │ │ 2.4.4 │ Not installed │
│ tns-android │ │ 2.4.1 │ Not installed │
│ tns-ios │ │ 2.4.0 │ Not installed │
└──────────────────┴─────────────────┴────────────────┴───────────────┘
I tried removing and adding the android platform.
Steps to reproduce:

  1. create a simple app
  2. and android platform
  3. run tns prepare android - build successfully
  4. run tns build android - I get this error and another one regarding Execution failed for task ':transformClassesWithDexForF0Debug'., but I posted it into another ticket

I used no plugins and the OS is Ubuntu 14

Thank you!

@calacianu

This comment has been minimized.

Show comment
Hide comment
@calacianu

calacianu Jan 11, 2017

would it help to post all the output?

calacianu commented Jan 11, 2017

would it help to post all the output?

@Pip3r4o

This comment has been minimized.

Show comment
Hide comment
@Pip3r4o

Pip3r4o Jan 11, 2017

Contributor

@calacianu yes please, I would also suggest that you verify that ANDROID_HOME system property is setup properly, and also that you check the latest installed versions of your SDK platform, and tools in the Android SDK Manager. (android command in a shell/cmd)

Edit: closing the other issue as the two seem to be related to the same problem.

PS. Make sure you've followed the installation instructions http://docs.nativescript.org/start/ns-setup-linux

Contributor

Pip3r4o commented Jan 11, 2017

@calacianu yes please, I would also suggest that you verify that ANDROID_HOME system property is setup properly, and also that you check the latest installed versions of your SDK platform, and tools in the Android SDK Manager. (android command in a shell/cmd)

Edit: closing the other issue as the two seem to be related to the same problem.

PS. Make sure you've followed the installation instructions http://docs.nativescript.org/start/ns-setup-linux

@calacianu

This comment has been minimized.

Show comment
Hide comment
@calacianu

calacianu Jan 11, 2017

Hey,
the android is ok installed and ANDROID_HOME. I successfully build an app on the same env, but it's very random. one out of 30 apps one work. bellow is the output of the command:

root@nativescript:/home/nativescript/chucky# tns build android
Project successfully prepared (android)

:config phase:  createDefaultIncludeFiles
        +found plugins: tns-core-modules-widgets

:config phase:  createPluginsConfigFile
         Creating product flavors include.gradle file in /home/nativescript/chucky/platforms/android/configurations folder...

:config phase:  pluginExtend
        +applying configuration from: /home/nativescript/chucky/platforms/android/configurations/include.gradle
        +applying configuration from: /home/nativescript/chucky/platforms/android/configurations/tns-core-modules-widgets/include.gradle

:config phase:  copyAarDependencies

:config phase:  addAarDependencies
        +adding dependency: /home/nativescript/chucky/platforms/android/libs/aar/widgets-release.aar
Incremental java compilation is an incubating feature.
:preBuild UP-TO-DATE
:preF0DebugBuild UP-TO-DATE
:checkF0DebugManifest
:preF0ReleaseBuild UP-TO-DATE
:prepareChuckyRuntimeUnspecifiedLibrary UP-TO-DATE
:prepareComAndroidSupportAnimatedVectorDrawable2510Library UP-TO-DATE
:prepareComAndroidSupportAppcompatV72510Library UP-TO-DATE
:prepareComAndroidSupportDesign2510Library UP-TO-DATE
:prepareComAndroidSupportRecyclerviewV72510Library UP-TO-DATE
:prepareComAndroidSupportSupportCompat2510Library UP-TO-DATE
:prepareComAndroidSupportSupportCoreUi2510Library UP-TO-DATE
:prepareComAndroidSupportSupportCoreUtils2510Library UP-TO-DATE
:prepareComAndroidSupportSupportFragment2510Library UP-TO-DATE
:prepareComAndroidSupportSupportMediaCompat2510Library UP-TO-DATE
:prepareComAndroidSupportSupportV42510Library UP-TO-DATE
:prepareComAndroidSupportSupportVectorDrawable2510Library UP-TO-DATE
:prepareComAndroidSupportTransition2510Library UP-TO-DATE
:prepareWidgetsReleaseLibrary UP-TO-DATE
:prepareF0DebugDependencies
:compileF0DebugAidl UP-TO-DATE
:compileF0DebugRenderscript UP-TO-DATE
:generateF0DebugBuildConfig UP-TO-DATE
:cleanLocalAarFiles
:ensureMetadataOutDir
:collectAllJars
:setProperties
:generateTypescriptDefinitions SKIPPED
:copyTypings SKIPPED
:asbg:generateInterfaceNamesList
:asbg:traverseJsFiles
:asbg:runAstParser UP-TO-DATE
:asbg:generateBindings UP-TO-DATE
:mergeF0DebugShaders UP-TO-DATE
:compileF0DebugShaders UP-TO-DATE
:generateF0DebugAssets UP-TO-DATE
:mergeF0DebugAssets UP-TO-DATE
:generateF0DebugResValues UP-TO-DATE
:generateF0DebugResources UP-TO-DATE
:mergeF0DebugResources UP-TO-DATE
:processF0DebugManifest UP-TO-DATE
:processF0DebugResources UP-TO-DATE
:generateF0DebugSources UP-TO-DATE
:incrementalF0DebugJavaCompilationSafeguard UP-TO-DATE
:compileF0DebugJavaWithJavac UP-TO-DATE
:compileF0DebugNdk UP-TO-DATE
:compileF0DebugSources UP-TO-DATE
:prePackageMarkerForF0Debug
:transformClassesWithDexForF0Debug
To run dex in process, the Gradle daemon needs a larger heap.
It currently has approximately 121 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to more than 2048 MB.
To do this set org.gradle.jvmargs=-Xmx2048M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html
:myMergeDex
Merged dex #1 (1 defs/1.4KiB)
Merged dex #2 (1 defs/1.5KiB)
Merged dex #3 (1 defs/1.5KiB)
Merged dex #4 (1 defs/2.2KiB)
Merged dex #5 (1 defs/1.6KiB)
Merged dex #6 (1 defs/1.7KiB)
Merged dex #7 (1 defs/1.7KiB)
Merged dex #8 (1 defs/1.4KiB)
Merged dex #9 (1 defs/1.7KiB)
Merged dex #10 (1 defs/1.4KiB)
Merged dex #11 (1 defs/1.7KiB)
Merged dex #12 (1 defs/2.6KiB)
Merged dex #13 (1 defs/1.4KiB)
Merged dex #14 (1 defs/1.4KiB)
Merged dex #15 (1 defs/1.6KiB)
Merged dex #16 (1 defs/1.5KiB)
Merged dex #17 (1 defs/1.6KiB)
Merged dex #18 (1 defs/1.3KiB)
Merged dex #19 (1 defs/1.2KiB)
Merged dex #20 (1 defs/1.3KiB)
Merged dex #21 (1 defs/1.4KiB)
Merged dex #22 (1 defs/1.6KiB)
Merged dex #23 (1 defs/1.7KiB)
Merged dex #24 (1 defs/1.3KiB)
Merged dex #25 (1 defs/1.5KiB)
Merged dex #26 (1 defs/1.4KiB)
Merged dex #27 (1 defs/1.9KiB)
Merged dex #28 (1 defs/1.4KiB)
Merged dex #29 (1 defs/1.3KiB)
Merged dex #30 (1 defs/1.4KiB)
Merged dex #31 (1 defs/1.4KiB)
Merged dex #32 (1 defs/2.3KiB)
Merged dex #33 (1 defs/1.3KiB)
Merged dex #34 (1 defs/1.4KiB)
Merged dex #35 (1 defs/1.6KiB)
Merged dex #36 (1 defs/1.5KiB)
Merged dex #37 (1 defs/1.8KiB)
Merged dex #38 (1 defs/2.0KiB)
Merged dex #39 (1 defs/1.3KiB)
Merged dex #40 (1 defs/1.3KiB)
Merged dex #41 (1 defs/1.4KiB)
Merged dex #42 (1 defs/1.7KiB)
Merged dex #43 (1 defs/1.4KiB)
Merged dex #44 (1 defs/1.3KiB)
Merged dex #45 (1 defs/2.7KiB)
Merged dex #46 (1 defs/1.3KiB)
Merged dex #47 (1 defs/2.5KiB)
Merged dex #48 (2523 defs/3235.4KiB)
Result is 2570 defs/4109.0KiB. Took 1.2s
:buildMetadata FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':buildMetadata'.
> Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 137

* 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: 2 mins 5.829 secs
Command /home/nativescript/chucky/platforms/android/gradlew failed with exit code 1

calacianu commented Jan 11, 2017

Hey,
the android is ok installed and ANDROID_HOME. I successfully build an app on the same env, but it's very random. one out of 30 apps one work. bellow is the output of the command:

root@nativescript:/home/nativescript/chucky# tns build android
Project successfully prepared (android)

:config phase:  createDefaultIncludeFiles
        +found plugins: tns-core-modules-widgets

:config phase:  createPluginsConfigFile
         Creating product flavors include.gradle file in /home/nativescript/chucky/platforms/android/configurations folder...

:config phase:  pluginExtend
        +applying configuration from: /home/nativescript/chucky/platforms/android/configurations/include.gradle
        +applying configuration from: /home/nativescript/chucky/platforms/android/configurations/tns-core-modules-widgets/include.gradle

:config phase:  copyAarDependencies

:config phase:  addAarDependencies
        +adding dependency: /home/nativescript/chucky/platforms/android/libs/aar/widgets-release.aar
Incremental java compilation is an incubating feature.
:preBuild UP-TO-DATE
:preF0DebugBuild UP-TO-DATE
:checkF0DebugManifest
:preF0ReleaseBuild UP-TO-DATE
:prepareChuckyRuntimeUnspecifiedLibrary UP-TO-DATE
:prepareComAndroidSupportAnimatedVectorDrawable2510Library UP-TO-DATE
:prepareComAndroidSupportAppcompatV72510Library UP-TO-DATE
:prepareComAndroidSupportDesign2510Library UP-TO-DATE
:prepareComAndroidSupportRecyclerviewV72510Library UP-TO-DATE
:prepareComAndroidSupportSupportCompat2510Library UP-TO-DATE
:prepareComAndroidSupportSupportCoreUi2510Library UP-TO-DATE
:prepareComAndroidSupportSupportCoreUtils2510Library UP-TO-DATE
:prepareComAndroidSupportSupportFragment2510Library UP-TO-DATE
:prepareComAndroidSupportSupportMediaCompat2510Library UP-TO-DATE
:prepareComAndroidSupportSupportV42510Library UP-TO-DATE
:prepareComAndroidSupportSupportVectorDrawable2510Library UP-TO-DATE
:prepareComAndroidSupportTransition2510Library UP-TO-DATE
:prepareWidgetsReleaseLibrary UP-TO-DATE
:prepareF0DebugDependencies
:compileF0DebugAidl UP-TO-DATE
:compileF0DebugRenderscript UP-TO-DATE
:generateF0DebugBuildConfig UP-TO-DATE
:cleanLocalAarFiles
:ensureMetadataOutDir
:collectAllJars
:setProperties
:generateTypescriptDefinitions SKIPPED
:copyTypings SKIPPED
:asbg:generateInterfaceNamesList
:asbg:traverseJsFiles
:asbg:runAstParser UP-TO-DATE
:asbg:generateBindings UP-TO-DATE
:mergeF0DebugShaders UP-TO-DATE
:compileF0DebugShaders UP-TO-DATE
:generateF0DebugAssets UP-TO-DATE
:mergeF0DebugAssets UP-TO-DATE
:generateF0DebugResValues UP-TO-DATE
:generateF0DebugResources UP-TO-DATE
:mergeF0DebugResources UP-TO-DATE
:processF0DebugManifest UP-TO-DATE
:processF0DebugResources UP-TO-DATE
:generateF0DebugSources UP-TO-DATE
:incrementalF0DebugJavaCompilationSafeguard UP-TO-DATE
:compileF0DebugJavaWithJavac UP-TO-DATE
:compileF0DebugNdk UP-TO-DATE
:compileF0DebugSources UP-TO-DATE
:prePackageMarkerForF0Debug
:transformClassesWithDexForF0Debug
To run dex in process, the Gradle daemon needs a larger heap.
It currently has approximately 121 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to more than 2048 MB.
To do this set org.gradle.jvmargs=-Xmx2048M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html
:myMergeDex
Merged dex #1 (1 defs/1.4KiB)
Merged dex #2 (1 defs/1.5KiB)
Merged dex #3 (1 defs/1.5KiB)
Merged dex #4 (1 defs/2.2KiB)
Merged dex #5 (1 defs/1.6KiB)
Merged dex #6 (1 defs/1.7KiB)
Merged dex #7 (1 defs/1.7KiB)
Merged dex #8 (1 defs/1.4KiB)
Merged dex #9 (1 defs/1.7KiB)
Merged dex #10 (1 defs/1.4KiB)
Merged dex #11 (1 defs/1.7KiB)
Merged dex #12 (1 defs/2.6KiB)
Merged dex #13 (1 defs/1.4KiB)
Merged dex #14 (1 defs/1.4KiB)
Merged dex #15 (1 defs/1.6KiB)
Merged dex #16 (1 defs/1.5KiB)
Merged dex #17 (1 defs/1.6KiB)
Merged dex #18 (1 defs/1.3KiB)
Merged dex #19 (1 defs/1.2KiB)
Merged dex #20 (1 defs/1.3KiB)
Merged dex #21 (1 defs/1.4KiB)
Merged dex #22 (1 defs/1.6KiB)
Merged dex #23 (1 defs/1.7KiB)
Merged dex #24 (1 defs/1.3KiB)
Merged dex #25 (1 defs/1.5KiB)
Merged dex #26 (1 defs/1.4KiB)
Merged dex #27 (1 defs/1.9KiB)
Merged dex #28 (1 defs/1.4KiB)
Merged dex #29 (1 defs/1.3KiB)
Merged dex #30 (1 defs/1.4KiB)
Merged dex #31 (1 defs/1.4KiB)
Merged dex #32 (1 defs/2.3KiB)
Merged dex #33 (1 defs/1.3KiB)
Merged dex #34 (1 defs/1.4KiB)
Merged dex #35 (1 defs/1.6KiB)
Merged dex #36 (1 defs/1.5KiB)
Merged dex #37 (1 defs/1.8KiB)
Merged dex #38 (1 defs/2.0KiB)
Merged dex #39 (1 defs/1.3KiB)
Merged dex #40 (1 defs/1.3KiB)
Merged dex #41 (1 defs/1.4KiB)
Merged dex #42 (1 defs/1.7KiB)
Merged dex #43 (1 defs/1.4KiB)
Merged dex #44 (1 defs/1.3KiB)
Merged dex #45 (1 defs/2.7KiB)
Merged dex #46 (1 defs/1.3KiB)
Merged dex #47 (1 defs/2.5KiB)
Merged dex #48 (2523 defs/3235.4KiB)
Result is 2570 defs/4109.0KiB. Took 1.2s
:buildMetadata FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':buildMetadata'.
> Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 137

* 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: 2 mins 5.829 secs
Command /home/nativescript/chucky/platforms/android/gradlew failed with exit code 1
@Pip3r4o

This comment has been minimized.

Show comment
Hide comment
@Pip3r4o

Pip3r4o Jan 11, 2017

Contributor

@calacianu one thing I noticed is that the build process takes unusually long for a hello-world app. Please execute tns build android --log trace note the --log trace flag, that will output a more verbose log of the build process and probably reveal the underlying build error.

Contributor

Pip3r4o commented Jan 11, 2017

@calacianu one thing I noticed is that the build process takes unusually long for a hello-world app. Please execute tns build android --log trace note the --log trace flag, that will output a more verbose log of the build process and probably reveal the underlying build error.

@calacianu

This comment has been minimized.

Show comment
Hide comment
@calacianu

calacianu Jan 11, 2017

The output of tns biuld android --log trace:

12:51:48.201 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':buildMetadata'
12:51:48.207 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :buildMetadata FAILED
12:51:48.213 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :buildMetadata (Thread[main,5,main]) completed. Took 9.106 secs.
12:51:48.213 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 1 mins 47.228 secs, idle: 0.228 secs
12:51:48.248 [ERROR] [org.gradle.BuildExceptionReporter]
12:51:48.252 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
12:51:48.258 [ERROR] [org.gradle.BuildExceptionReporter]
12:51:48.259 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
12:51:48.261 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':buildMetadata'.
12:51:48.265 [ERROR] [org.gradle.BuildExceptionReporter] > Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 137
12:51:48.272 [ERROR] [org.gradle.BuildExceptionReporter]
12:51:48.273 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
12:51:48.276 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':buildMetadata'.
12:51:48.276 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
12:51:48.277 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
12:51:48.278 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
12:51:48.280 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
12:51:48.281 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
12:51:48.285 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
12:51:48.286 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
12:51:48.287 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
12:51:48.288 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
12:51:48.289 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
12:51:48.296 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
12:51:48.297 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
12:51:48.298 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
12:51:48.299 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
12:51:48.300 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
12:51:48.304 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
12:51:48.304 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
12:51:48.305 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
12:51:48.306 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
12:51:48.307 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
12:51:48.308 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
12:51:48.309 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
12:51:48.309 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:154)
12:51:48.315 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.Factories$1.create(Factories.java:22)
12:51:48.316 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
12:51:48.317 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
12:51:48.318 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)
12:51:48.320 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
12:51:48.323 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
12:51:48.323 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
12:51:48.324 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
12:51:48.325 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
12:51:48.331 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
12:51:48.332 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
12:51:48.333 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
12:51:48.338 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
12:51:48.339 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
12:51:48.340 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
12:51:48.341 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
12:51:48.342 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)
12:51:48.343 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:48)
12:51:48.344 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
12:51:48.345 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
12:51:48.346 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
12:51:48.346 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
12:51:48.347 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
12:51:48.356 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
12:51:48.357 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
12:51:48.358 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
12:51:48.359 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
12:51:48.360 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
12:51:48.361 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
12:51:48.362 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
12:51:48.363 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.Main.doAction(Main.java:33)
12:51:48.363 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
12:51:48.365 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
12:51:48.365 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
12:51:48.366 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
12:51:48.367 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
12:51:48.368 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
12:51:48.369 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
12:51:48.370 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 137
12:51:48.371 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:367)
12:51:48.376 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.process.internal.DefaultJavaExecAction.execute(DefaultJavaExecAction.java:31)
12:51:48.377 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.tasks.JavaExec.exec(JavaExec.java:75)
12:51:48.377 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
12:51:48.378 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:227)
12:51:48.379 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
12:51:48.380 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
12:51:48.381 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
12:51:48.382 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
12:51:48.383 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
12:51:48.384 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
12:51:48.385 [ERROR] [org.gradle.BuildExceptionReporter]        ... 60 more
12:51:48.389 [ERROR] [org.gradle.BuildExceptionReporter]
12:51:48.390 [LIFECYCLE] [org.gradle.BuildResultLogger]
12:51:48.390 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
12:51:48.392 [LIFECYCLE] [org.gradle.BuildResultLogger]
12:51:48.393 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 2 mins 16.685 secs
12:51:48.522 [INFO] [org.gradle.api.Project] PREDEX CACHE HITS:   0
12:51:48.524 [INFO] [org.gradle.api.Project] PREDEX CACHE MISSES: 17
12:51:48.548 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_settings class cache for settings file '/home/nativescript/chucky/platforms/android/settings.gradle' (/root/.gradle/caches/2.10/scripts/settings_5ywnnml0ag9uj05titvtyzeyd/cp_settings).
12:51:48.550 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on settings class cache for settings file '/home/nativescript/chucky/platforms/android/settings.gradle' (/root/.gradle/caches/2.10/scripts/settings_5ywnnml0ag9uj05titvtyzeyd/settings).
12:51:48.551 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_proj class cache for build file '/home/nativescript/chucky/platforms/android/build.gradle' (/root/.gradle/caches/2.10/scripts/build_9cn61wjbwcelk8yewonripvqi/cp_proj).
12:51:48.552 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on proj class cache for build file '/home/nativescript/chucky/platforms/android/build.gradle' (/root/.gradle/caches/2.10/scripts/build_9cn61wjbwcelk8yewonripvqi/proj).
12:51:48.553 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_dsl class cache for script '/home/nativescript/chucky/app/App_Resources/Android/app.gradle' (/root/.gradle/caches/2.10/scripts/app_2yke706jh8zeskfmkjidvbutt/cp_dsl).
12:51:48.556 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on dsl class cache for script '/home/nativescript/chucky/app/App_Resources/Android/app.gradle' (/root/.gradle/caches/2.10/scripts/app_2yke706jh8zeskfmkjidvbutt/dsl).
12:51:48.559 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_dsl class cache for script '/home/nativescript/chucky/platforms/android/configurations/include.gradle' (/root/.gradle/caches/2.10/scripts/include_9557kptlj23ih9h6qulhdgzlk/cp_dsl).
12:51:48.559 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on dsl class cache for script '/home/nativescript/chucky/platforms/android/configurations/include.gradle' (/root/.gradle/caches/2.10/scripts/include_9557kptlj23ih9h6qulhdgzlk/dsl).
12:51:48.561 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_dsl class cache for script '/home/nativescript/chucky/platforms/android/configurations/tns-core-modules-widgets/include.gradle' (/root/.gradle/caches/2.10/scripts/include_7piaco4mbc720deq2fcqzdf4f/cp_dsl).
12:51:48.562 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on dsl class cache for script '/home/nativescript/chucky/platforms/android/configurations/tns-core-modules-widgets/include.gradle' (/root/.gradle/caches/2.10/scripts/include_7piaco4mbc720deq2fcqzdf4f/dsl).
12:51:48.562 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_proj class cache for build file '/home/nativescript/chucky/platforms/android/build-tools/runtime-modules/runtime/build.gradle' (/root/.gradle/caches/2.10/scripts/build_9mc2xmj7qtc6qk7vykubl5c5e/cp_proj).
12:51:48.563 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on proj class cache for build file '/home/nativescript/chucky/platforms/android/build-tools/runtime-modules/runtime/build.gradle' (/root/.gradle/caches/2.10/scripts/build_9mc2xmj7qtc6qk7vykubl5c5e/proj).
12:51:48.564 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_proj class cache for build file '/home/nativescript/chucky/platforms/android/build-tools/android-static-binding-generator/build.gradle' (/root/.gradle/caches/2.10/scripts/build_lfphh7kk65k2b7q8xy9pes6z/cp_proj).
12:51:48.565 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on proj class cache for build file '/home/nativescript/chucky/platforms/android/build-tools/android-static-binding-generator/build.gradle' (/root/.gradle/caches/2.10/scripts/build_lfphh7kk65k2b7q8xy9pes6z/proj).
12:51:48.593 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache taskArtifacts.bin (/home/nativescript/chucky/platforms/android/.gradle/2.10/taskArtifacts/taskArtifacts.bin)
12:51:48.594 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileSnapshots.bin (/home/nativescript/chucky/platforms/android/.gradle/2.10/taskArtifacts/fileSnapshots.bin)
12:51:48.595 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache outputFileStates.bin (/home/nativescript/chucky/platforms/android/.gradle/2.10/taskArtifacts/outputFileStates.bin)
12:51:48.596 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileHashes.bin (/home/nativescript/chucky/platforms/android/.gradle/2.10/taskArtifacts/fileHashes.bin)
12:51:48.596 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on task history cache (/home/nativescript/chucky/platforms/android/.gradle/2.10/taskArtifacts).
12:51:48.601 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
12:51:48.601 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 4 (avg: 0.009 secs, total: 0.039 secs)
12:51:48.602 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.003 secs
12:51:48.603 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-repository.bin (/root/.gradle/caches/modules-2/metadata-2.16/artifact-at-repository.bin)
12:51:48.604 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-metadata.bin (/root/.gradle/caches/modules-2/metadata-2.16/module-metadata.bin)
12:51:48.604 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on artifact cache (/root/.gradle/caches/modules-2).
12:51:48.605 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] In-memory dependency metadata cache closed. Repos cached: 21, cache instances: 4, modules served from cache: 145, artifacts: 22
12:51:48.606 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (/root/.gradle/caches/2.10/plugin-resolution) was closed 0 times.
12:51:48.607 [DEBUG] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopping 0 compiler daemon(s).
12:51:48.608 [INFO] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopped 0 compiler daemon(s).
Error: Command /home/nativescript/chucky/platforms/android/gradlew failed with exit code 1
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/nativescript/lib/common/child-process.js:91:38)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:885:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
Analytics statuses:
{ TrackFeatureUsage: 1, TrackExceptions: 1 }
Trying to track feature 'CLI' with value 'help'.
List of registered commands: /?, appstore, appstore|upload, autocomplete, autocomplete|disable, autocomplete|enable, autocomplete|status, build, build|android, build|ios, clean-app, clean-app|android, clean-app|ios, create, debug, debug|android, debug|ios, deploy, dev-generate-help, dev-generate-messages, dev-post-install, dev-preuninstall, dev-test, dev-test|android, dev-test|ios, device, devices, device|android, device|get-file, device|ios, device|list-applications, device|list-files, device|log, device|put-file, device|run, device|stop, device|uninstall, doctor, emulate, emulate|android, emulate|ios, error-reporting, help, info, init, install, livesync, platform, platform|add, platform|clean, platform|remove, platform|update, plugin, plugin|add, plugin|find, plugin|install, plugin|remove, plugin|search, plugin|update, post-install-cli, prepare, publish, publish|ios, run, run|android, run|ios, test, test|android, test|init, test|ios, update, usage-reporting
Reading help for command 'build|android'. FileName is 'build-android.md'.

calacianu commented Jan 11, 2017

The output of tns biuld android --log trace:

12:51:48.201 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':buildMetadata'
12:51:48.207 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :buildMetadata FAILED
12:51:48.213 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :buildMetadata (Thread[main,5,main]) completed. Took 9.106 secs.
12:51:48.213 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 1 mins 47.228 secs, idle: 0.228 secs
12:51:48.248 [ERROR] [org.gradle.BuildExceptionReporter]
12:51:48.252 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
12:51:48.258 [ERROR] [org.gradle.BuildExceptionReporter]
12:51:48.259 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
12:51:48.261 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':buildMetadata'.
12:51:48.265 [ERROR] [org.gradle.BuildExceptionReporter] > Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 137
12:51:48.272 [ERROR] [org.gradle.BuildExceptionReporter]
12:51:48.273 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
12:51:48.276 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':buildMetadata'.
12:51:48.276 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
12:51:48.277 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
12:51:48.278 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
12:51:48.280 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
12:51:48.281 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
12:51:48.285 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
12:51:48.286 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
12:51:48.287 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
12:51:48.288 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
12:51:48.289 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
12:51:48.296 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
12:51:48.297 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
12:51:48.298 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
12:51:48.299 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
12:51:48.300 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
12:51:48.304 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
12:51:48.304 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
12:51:48.305 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
12:51:48.306 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
12:51:48.307 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
12:51:48.308 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
12:51:48.309 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
12:51:48.309 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:154)
12:51:48.315 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.Factories$1.create(Factories.java:22)
12:51:48.316 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
12:51:48.317 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
12:51:48.318 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)
12:51:48.320 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
12:51:48.323 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
12:51:48.323 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
12:51:48.324 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
12:51:48.325 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
12:51:48.331 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
12:51:48.332 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
12:51:48.333 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
12:51:48.338 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
12:51:48.339 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
12:51:48.340 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
12:51:48.341 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
12:51:48.342 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)
12:51:48.343 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:48)
12:51:48.344 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
12:51:48.345 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
12:51:48.346 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
12:51:48.346 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
12:51:48.347 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
12:51:48.356 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
12:51:48.357 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
12:51:48.358 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
12:51:48.359 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
12:51:48.360 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
12:51:48.361 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
12:51:48.362 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
12:51:48.363 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.Main.doAction(Main.java:33)
12:51:48.363 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
12:51:48.365 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
12:51:48.365 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
12:51:48.366 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
12:51:48.367 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
12:51:48.368 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
12:51:48.369 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
12:51:48.370 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 137
12:51:48.371 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:367)
12:51:48.376 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.process.internal.DefaultJavaExecAction.execute(DefaultJavaExecAction.java:31)
12:51:48.377 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.tasks.JavaExec.exec(JavaExec.java:75)
12:51:48.377 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
12:51:48.378 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:227)
12:51:48.379 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
12:51:48.380 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
12:51:48.381 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
12:51:48.382 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
12:51:48.383 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
12:51:48.384 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
12:51:48.385 [ERROR] [org.gradle.BuildExceptionReporter]        ... 60 more
12:51:48.389 [ERROR] [org.gradle.BuildExceptionReporter]
12:51:48.390 [LIFECYCLE] [org.gradle.BuildResultLogger]
12:51:48.390 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
12:51:48.392 [LIFECYCLE] [org.gradle.BuildResultLogger]
12:51:48.393 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 2 mins 16.685 secs
12:51:48.522 [INFO] [org.gradle.api.Project] PREDEX CACHE HITS:   0
12:51:48.524 [INFO] [org.gradle.api.Project] PREDEX CACHE MISSES: 17
12:51:48.548 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_settings class cache for settings file '/home/nativescript/chucky/platforms/android/settings.gradle' (/root/.gradle/caches/2.10/scripts/settings_5ywnnml0ag9uj05titvtyzeyd/cp_settings).
12:51:48.550 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on settings class cache for settings file '/home/nativescript/chucky/platforms/android/settings.gradle' (/root/.gradle/caches/2.10/scripts/settings_5ywnnml0ag9uj05titvtyzeyd/settings).
12:51:48.551 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_proj class cache for build file '/home/nativescript/chucky/platforms/android/build.gradle' (/root/.gradle/caches/2.10/scripts/build_9cn61wjbwcelk8yewonripvqi/cp_proj).
12:51:48.552 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on proj class cache for build file '/home/nativescript/chucky/platforms/android/build.gradle' (/root/.gradle/caches/2.10/scripts/build_9cn61wjbwcelk8yewonripvqi/proj).
12:51:48.553 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_dsl class cache for script '/home/nativescript/chucky/app/App_Resources/Android/app.gradle' (/root/.gradle/caches/2.10/scripts/app_2yke706jh8zeskfmkjidvbutt/cp_dsl).
12:51:48.556 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on dsl class cache for script '/home/nativescript/chucky/app/App_Resources/Android/app.gradle' (/root/.gradle/caches/2.10/scripts/app_2yke706jh8zeskfmkjidvbutt/dsl).
12:51:48.559 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_dsl class cache for script '/home/nativescript/chucky/platforms/android/configurations/include.gradle' (/root/.gradle/caches/2.10/scripts/include_9557kptlj23ih9h6qulhdgzlk/cp_dsl).
12:51:48.559 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on dsl class cache for script '/home/nativescript/chucky/platforms/android/configurations/include.gradle' (/root/.gradle/caches/2.10/scripts/include_9557kptlj23ih9h6qulhdgzlk/dsl).
12:51:48.561 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_dsl class cache for script '/home/nativescript/chucky/platforms/android/configurations/tns-core-modules-widgets/include.gradle' (/root/.gradle/caches/2.10/scripts/include_7piaco4mbc720deq2fcqzdf4f/cp_dsl).
12:51:48.562 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on dsl class cache for script '/home/nativescript/chucky/platforms/android/configurations/tns-core-modules-widgets/include.gradle' (/root/.gradle/caches/2.10/scripts/include_7piaco4mbc720deq2fcqzdf4f/dsl).
12:51:48.562 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_proj class cache for build file '/home/nativescript/chucky/platforms/android/build-tools/runtime-modules/runtime/build.gradle' (/root/.gradle/caches/2.10/scripts/build_9mc2xmj7qtc6qk7vykubl5c5e/cp_proj).
12:51:48.563 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on proj class cache for build file '/home/nativescript/chucky/platforms/android/build-tools/runtime-modules/runtime/build.gradle' (/root/.gradle/caches/2.10/scripts/build_9mc2xmj7qtc6qk7vykubl5c5e/proj).
12:51:48.564 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_proj class cache for build file '/home/nativescript/chucky/platforms/android/build-tools/android-static-binding-generator/build.gradle' (/root/.gradle/caches/2.10/scripts/build_lfphh7kk65k2b7q8xy9pes6z/cp_proj).
12:51:48.565 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on proj class cache for build file '/home/nativescript/chucky/platforms/android/build-tools/android-static-binding-generator/build.gradle' (/root/.gradle/caches/2.10/scripts/build_lfphh7kk65k2b7q8xy9pes6z/proj).
12:51:48.593 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache taskArtifacts.bin (/home/nativescript/chucky/platforms/android/.gradle/2.10/taskArtifacts/taskArtifacts.bin)
12:51:48.594 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileSnapshots.bin (/home/nativescript/chucky/platforms/android/.gradle/2.10/taskArtifacts/fileSnapshots.bin)
12:51:48.595 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache outputFileStates.bin (/home/nativescript/chucky/platforms/android/.gradle/2.10/taskArtifacts/outputFileStates.bin)
12:51:48.596 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileHashes.bin (/home/nativescript/chucky/platforms/android/.gradle/2.10/taskArtifacts/fileHashes.bin)
12:51:48.596 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on task history cache (/home/nativescript/chucky/platforms/android/.gradle/2.10/taskArtifacts).
12:51:48.601 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
12:51:48.601 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 4 (avg: 0.009 secs, total: 0.039 secs)
12:51:48.602 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.003 secs
12:51:48.603 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-repository.bin (/root/.gradle/caches/modules-2/metadata-2.16/artifact-at-repository.bin)
12:51:48.604 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-metadata.bin (/root/.gradle/caches/modules-2/metadata-2.16/module-metadata.bin)
12:51:48.604 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on artifact cache (/root/.gradle/caches/modules-2).
12:51:48.605 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] In-memory dependency metadata cache closed. Repos cached: 21, cache instances: 4, modules served from cache: 145, artifacts: 22
12:51:48.606 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (/root/.gradle/caches/2.10/plugin-resolution) was closed 0 times.
12:51:48.607 [DEBUG] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopping 0 compiler daemon(s).
12:51:48.608 [INFO] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopped 0 compiler daemon(s).
Error: Command /home/nativescript/chucky/platforms/android/gradlew failed with exit code 1
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/nativescript/lib/common/child-process.js:91:38)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:885:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
Analytics statuses:
{ TrackFeatureUsage: 1, TrackExceptions: 1 }
Trying to track feature 'CLI' with value 'help'.
List of registered commands: /?, appstore, appstore|upload, autocomplete, autocomplete|disable, autocomplete|enable, autocomplete|status, build, build|android, build|ios, clean-app, clean-app|android, clean-app|ios, create, debug, debug|android, debug|ios, deploy, dev-generate-help, dev-generate-messages, dev-post-install, dev-preuninstall, dev-test, dev-test|android, dev-test|ios, device, devices, device|android, device|get-file, device|ios, device|list-applications, device|list-files, device|log, device|put-file, device|run, device|stop, device|uninstall, doctor, emulate, emulate|android, emulate|ios, error-reporting, help, info, init, install, livesync, platform, platform|add, platform|clean, platform|remove, platform|update, plugin, plugin|add, plugin|find, plugin|install, plugin|remove, plugin|search, plugin|update, post-install-cli, prepare, publish, publish|ios, run, run|android, run|ios, test, test|android, test|init, test|ios, update, usage-reporting
Reading help for command 'build|android'. FileName is 'build-android.md'.
@calacianu

This comment has been minimized.

Show comment
Hide comment
@calacianu

calacianu Jan 11, 2017

If you want I can give you access to the server I'm running on :)

calacianu commented Jan 11, 2017

If you want I can give you access to the server I'm running on :)

@Pip3r4o

This comment has been minimized.

Show comment
Hide comment
@Pip3r4o

Pip3r4o Jan 11, 2017

Contributor

@calacianu the logs above suggest Out of Memory issues. Is your java 32 or 64-bit?

Please spare a moment to go through http://stackoverflow.com/questions/9808488/how-to-optimize-gradle-build-performance-regarding-build-duration-and-ram-usage and play around with the -Xms/x parameters. See if anything can alleviate the problems.

Switch to everything 64-bit, if it's an option, and try to build an app again.

Contributor

Pip3r4o commented Jan 11, 2017

@calacianu the logs above suggest Out of Memory issues. Is your java 32 or 64-bit?

Please spare a moment to go through http://stackoverflow.com/questions/9808488/how-to-optimize-gradle-build-performance-regarding-build-duration-and-ram-usage and play around with the -Xms/x parameters. See if anything can alleviate the problems.

Switch to everything 64-bit, if it's an option, and try to build an app again.

@Pip3r4o

This comment has been minimized.

Show comment
Hide comment
@Pip3r4o

Pip3r4o Jan 16, 2017

Contributor

Hey @calacianu, any update on the matter? Did you manage to build a project successfully?

Contributor

Pip3r4o commented Jan 16, 2017

Hey @calacianu, any update on the matter? Did you manage to build a project successfully?

@calacianu

This comment has been minimized.

Show comment
Hide comment
@calacianu

calacianu Jan 16, 2017

hey,
sorry I did not post anything. the thing is I was running the app on a digitalocean droplet. I added more ram memory and it worked.
Thank you! :)

calacianu commented Jan 16, 2017

hey,
sorry I did not post anything. the thing is I was running the app on a digitalocean droplet. I added more ram memory and it worked.
Thank you! :)

@Pip3r4o Pip3r4o closed this Jan 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment