cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evan Rowley (JIRA)" <>
Subject [jira] [Created] (CB-5648) "cordova platform add android" fails with "Package name must look like:"
Date Mon, 16 Dec 2013 03:35:12 GMT
Evan Rowley created CB-5648:

             Summary: "cordova platform add android" fails with "Package name must look like:"
                 Key: CB-5648
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.1.0, 3.3.0
         Environment: OS X 18.3
            Reporter: Evan Rowley
            Priority: Blocker

I was making my way through the PhoneGap 3 Beginner’s Guide by Giorigo Natili when I ran
into the following error. Chapter 03 is on creating the HelloWorld app. The steps that got
me to the error are:

    Step 1

cordova create ~/the/path/to/src/ch03 HelloWorld

    Step 2

cd ~/the/path/to/src/ch03

    Step 3

cordova platform add android

 ^ This command doesn’t seem to work. What I get from running this is:

Creating android project...

                    throw e;
Error: An error occured during creation of android sub-project.

                    throw e;
Package name must look like:

    at /usr/local/lib/node_modules/cordova/src/platform.js:244:30
    at ChildProcess.exithandler (child_process.js:641:7)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:735:16)
    at Process.ChildProcess._handle.onexit (child_process.js:802:5)

I would really like to debug this but I don’t have the slightest clue as to how my environment
could be verified and/or how a node application can be debugged. I took a look at q.js:126
and platform.js:244 and both basically tie into some kind of exception thingy. It would be
really neat if I could run this in a ‘debug mode’ and see what all the variables are at
certain breakpoints.

This message was sent by Atlassian JIRA

View raw message