Jacob Weber created CB-4326:
-------------------------------

             Summary: Following CLI instructions results in error
                 Key: CB-4326
                 URL: https://issues.apache.org/jira/browse/CB-4326
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.0.0
         Environment: Mac OS 10.8.4
            Reporter: Jacob Weber
            Assignee: Joe Bowser


Following the instructions here
http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface

$ cordova create HelloWorld com.example.hello "Hello World"
$ cd HelloWorld/
$ cordova platform add ios
$ cordova platform add android

This last command results in an error. If I add some debugging statements, I 
can see that it's trying to run this:

android-sdk-macosx/tools//android create project --target android-17 --path 
/Users/jacobweber/Downloads/HelloWorld/platforms/android --package 
com.example.hello --activity Hello World
Error: Argument 'World' is not recognized.

So the display text "Hello World" is being used as the activity name, and it's 
not being quoted properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to