Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 96CDC200BA6 for ; Tue, 4 Oct 2016 04:26:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 956E4160ADC; Tue, 4 Oct 2016 02:26:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A78C7160AE5 for ; Tue, 4 Oct 2016 04:26:21 +0200 (CEST) Received: (qmail 84419 invoked by uid 500); 4 Oct 2016 02:26:20 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 84123 invoked by uid 99); 4 Oct 2016 02:26:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2016 02:26:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8E6382C0B05 for ; Tue, 4 Oct 2016 02:26:20 +0000 (UTC) Date: Tue, 4 Oct 2016 02:26:20 +0000 (UTC) From: "Gourav (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CB-11943) :CordovaLib:processDebugResources FAILED MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 04 Oct 2016 02:26:22 -0000 [ https://issues.apache.org/jira/browse/CB-11943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15544096#comment-15544096 ] Gourav edited comment on CB-11943 at 10/4/16 2:26 AM: ------------------------------------------------------ Hi Joe, Thanks for reply. I am trying to create HELLO WORLD by following the steps given at Cordova website for android-- Website URL- https://cordova.apache.org/docs/en/latest/guide/cli/index.html. Version Details Cordova - 6.3.1 Node - V6.6.0 OS - Window 10 Gradle - 2.10 Steps I followed with/without clean the project 1. npm install -g cordova 2. cordova create hello com.example.hello HelloWorld 3. cd hello 4. cordova platform add android --save 5. cordova platform ls Result for 5 - Installed platforms: android 5.2.2 Available platforms: amazon-fireos ~3.6.3 (deprecated) blackberry10 ~3.8.0 browser ~4.1.0 firefoxos ~3.6.3 webos ~3.7.0 windows ~4.4.0 wp8 ~3.8.2 (deprecated) 6. cordova requirements Result Requirements check results for android: Java JDK: installed 1.8.0 Android SDK: installed Android target: installed android-23,android-24 Gradle: installed 7. Clean - D:\MyWork\cordova\hello\platforms\android\cordova>clean ANDROID_HOME=C:\Users\niitadmin\AppData\Local\Android\sdk\ JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101 Incremental java compilation is an incubating feature. :clean UP-TO-DATE :CordovaLib:clean BUILD SUCCESSFUL Total time: 2.347 secs D:\MyWork\cordova\hello\platforms\android\cordova> 8. cordova build android also tried D:\MyWork\cordova\hello\platforms\android\cordova>build On build I am getting below error always and it got failed. Please help to resolve the same. :CordovaLib:processDebugResources FAILED FAILURE: Build failed with an exception. BUILD FAILED Total time: 2.457 secs * What went wrong: Execution failed for task ':CordovaLib:processDebugResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\niitadmin\AppData\Local\Android\sdk\build-tools\24.0.3\aapt.exe'' finished with non-zero exit value -1073741819 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Error: cmd: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':CordovaLib:processDebugResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\niitadmin\AppData\Local\Android\sdk\build-tools\24.0.3\aapt.exe'' finished with non-zero exit value -1073741819 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. at ChildProcess.whenDone (D:\MyWork\cordova\hello\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at maybeClose (internal/child_process.js:877:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) 9. Log D:\MyWork\cordova\hello\platforms\android\cordova>log ANDROID_HOME=C:\Users\niitadmin\AppData\Local\Android\sdk\ JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101 D:\MyWork\cordova\hello\platforms\android\cordova\node_modules\q\q.js:155 throw e; ^ Failed to run logcat command. D:\MyWork\cordova\hello\platforms\android\cordova> Please let me know if any other information is required. was (Author: gourav7bhatia): Hi Joe, Thanks for reply. I am trying to create HELLO WORLD by following the steps given at Cordova website for android-- Website URL- https://cordova.apache.org/docs/en/latest/guide/cli/index.html. Version Details Cordova - 6.3.1 Node - V6.6.0 OS - Window 10 Gradle - 2.10 Steps I followed with/without clean the project 1. npm install -g cordova 2. cordova create hello com.example.hello HelloWorld 3. cd hello 4. cordova platform add android --save 5. cordova platform ls Result for 5 - Installed platforms: android 5.2.2 Available platforms: amazon-fireos ~3.6.3 (deprecated) blackberry10 ~3.8.0 browser ~4.1.0 firefoxos ~3.6.3 webos ~3.7.0 windows ~4.4.0 wp8 ~3.8.2 (deprecated) 6. cordova requirements Result Requirements check results for android: Java JDK: installed 1.8.0 Android SDK: installed Android target: installed android-23,android-24 Gradle: installed 7. Clean - D:\MyWork\cordova\hello\platforms\android\cordova>clean ANDROID_HOME=C:\Users\niitadmin\AppData\Local\Android\sdk\ JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101 Incremental java compilation is an incubating feature. :clean UP-TO-DATE :CordovaLib:clean BUILD SUCCESSFUL Total time: 2.347 secs D:\MyWork\cordova\hello\platforms\android\cordova> 8. cordova build android also tried D:\MyWork\cordova\hello\platforms\android\cordova>build On build I am getting below error always and it got failed. Please help to resolve the same. :CordovaLib:processDebugResources FAILED FAILURE: Build failed with an exception. BUILD FAILED Total time: 2.457 secs * What went wrong: Execution failed for task ':CordovaLib:processDebugResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\niitadmin\AppData\Local\Android\sdk\build-tools\24.0.3\aapt.exe'' finished with non-zero exit value -1073741819 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Error: cmd: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':CordovaLib:processDebugResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\niitadmin\AppData\Local\Android\sdk\build-tools\24.0.3\aapt.exe'' finished with non-zero exit value -1073741819 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. at ChildProcess.whenDone (D:\MyWork\cordova\hello\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at maybeClose (internal/child_process.js:877:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) Please let me know if any other information is required. > :CordovaLib:processDebugResources FAILED > ---------------------------------------- > > Key: CB-11943 > URL: https://issues.apache.org/jira/browse/CB-11943 > Project: Apache Cordova > Issue Type: Bug > Components: Android, App Hello World, CordovaLib > Affects Versions: 6.3.1 > Environment: Window 10 +ionic > Reporter: Gourav > > :CordovaLib:processDebugResources FAILED > 15:56:32.082 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :CordovaLib:processDebugResources (Thread[main,5,main]) completed. Took 2.964 secs. > 15:56:32.082 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 3.314 secs, idle: 0.505 secs > 15:56:32.092 [ERROR] [org.gradle.BuildExceptionReporter] > 15:56:32.092 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception. > 15:56:32.092 [ERROR] [org.gradle.BuildExceptionReporter] > 15:56:32.092 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: > 15:56:32.092 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':CordovaLib:processDebugResources'. > 15:56:32.092 [ERROR] [org.gradle.BuildExceptionReporter] > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\niitadmin\AppData\Local\Android\sdk\build-tools\24.0.3\aapt.exe'' finished with non-zero exit value -1073741819 > 15:56:32.092 [ERROR] [org.gradle.BuildExceptionReporter] > 15:56:32.092 [ERROR] [org.gradle.BuildExceptionReporter] * Try: > 15:56:32.092 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. > 15:56:32.093 [LIFECYCLE] [org.gradle.BuildResultLogger] > 15:56:32.093 [LIFECYCLE] [org.gradle.BuildResAultLogger] BUILD FAILED -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org