[
https://issues.apache.org/jira/browse/CB-11943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15544096#comment-15544096
]
Gourav commented on CB-11943:
-----------------------------
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
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. cordova build android
On build I am getting below error always and it got failed. Please help to
resolve the same.
:CordovaLib:processDebugManifest
:CordovaLib:processDebugResources FAILED
BUILD FAILED
Total time: 15.518 secs
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.
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
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: [email protected]
For additional commands, e-mail: [email protected]