Phonegap build android issue

109 views
Skip to first unread message

zac...@gmail.com

unread,
Jul 6, 2015, 3:10:46 PM7/6/15
to phon...@googlegroups.com
It threw me some errors when I use command "phonegap build android" to build my existing android project. 
Errors:

:processDebugManifest

/Users/zhang/myapp/platforms/android/AndroidManifest.xml:15:13 Error:

Missing one of the key attributes 'action#name,category#name' on element intent-filter at AndroidManifest.xml:15:13

/Users/zhang/myapp/platforms/android/AndroidManifest.xml:0:0 Error:

Validation failed, exiting

:processDebugManifest FAILED


FAILURE: Build failed with an exception.


* What went wrong:

Execution failed for task ':processDebugManifest'.

> Manifest merger failed with multiple errors, see logs


* 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.617 secs


/Users/zhang/myapp/platforms/android/cordova/node_modules/q/q.js:126

                    throw e;

                          ^

Error code 1 for command: /Users/zhang/myapp/platforms/android/gradlew with args: cdvBuildDebug,-b,/Users/zhang/myapp/platforms/android/build.gradle,-Dorg.gradle.daemon=true

ERROR building one of the platforms: Error: /Users/zhang/myapp/platforms/android/cordova/build: Command failed with exit code 1

You may not have the required environment or OS to build this project

Error: /Users/zhang/myapp/platforms/android/cordova/build: Command failed with exit code 1

    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134:23)

    at ChildProcess.emit (events.js:110:17)

    at maybeClose (child_process.js:1015:16)

    at Process.ChildProcess._handle.onexit (child_process.js:1087:5)

Roosvelt Dev

unread,
Jul 9, 2015, 5:29:00 PM7/9/15
to phon...@googlegroups.com
I'm new in phonegap/Cordova. I got the same issue with cordova, could I found help please.

You may not have the required environment or OS to build this project.

Jesse Monroy

unread,
Jul 9, 2015, 6:41:28 PM7/9/15
to phon...@googlegroups.com
@Roosvelt,
If you get a similar issue it is best to read the forums for answers. Sometimes, like this message, the author cross-posted widely, and abandons the message.

In the future, if you have a similar issue (to what you see posted), read for the answer, and if the answers does not work for you, then START A NEW message thread. We try to have one issue per thread. This way we do not get confused about who is getting the answer, and if the advice worked.

On YOUR ISSUE, the original poster cross-posted at: http://community.phonegap.com/nitobi/topics/phongap-build-android-issues

That person has NOT resolved their issue. Your issue could be different. Please start a new thread. Here or in the other forum. Let us know:

* What was the nature of the error?
* Let us know what you did - What software did you install, what instructions did you follow.
* Let us know what machine, Operating System and tools you have.
* Be ready to post error logs

Best of Luck
Jesse
Reply all
Reply to author
Forward
0 new messages