[
https://issues.apache.org/jira/browse/CB-5648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Kinard reassigned CB-5648:
---------------------------------
Assignee: Marcel Kinard
> "cordova platform add android" fails with "Package name must look like:
> com.company.Name"
> -----------------------------------------------------------------------------------------
>
> Key: CB-5648
> URL: https://issues.apache.org/jira/browse/CB-5648
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, CLI
> Affects Versions: 3.1.0, 3.3.0
> Environment: OS X 18.3
> Reporter: Evan Rowley
> Assignee: Marcel Kinard
> Priority: Minor
> Labels: newbie
> Fix For: 3.3.0
>
>
> 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...
> /usr/local/lib/node_modules/cordova/node_modules/q/q.js:126
> throw e;
> ^
> Error: An error occured during creation of android sub-project.
> /Users/evanrowley/.cordova/lib/android/cordova/3.3.0/bin/node_modules/q/q.js:126
> throw e;
> ^
> Package name must look like: com.company.Name
> 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
(v6.1.5#6160)