Dan Moore created CB-4201:
-----------------------------

             Summary: Android platform add fails if name element starts with a 
number
                 Key: CB-4201
                 URL: https://issues.apache.org/jira/browse/CB-4201
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
         Environment: cordova 2.9.5
            Reporter: Dan Moore
            Assignee: Filip Maj
            Priority: Minor


I saw this when running 'cordova platform add android' but tracked it down to 
this statement (where "hoods" is more typically drawn from config.xml / name):

This works:
[mooreds@localhost neighborhoodapp]$ 
"/home/mooreds/.cordova/lib/android/cordova/2.9.0/bin/create"  
"/home/mooreds/dev/ta/android" "com.eightz.mobile" "hoods"

This fails:
[mooreds@localhost neighborhoodapp]$ 
"/home/mooreds/.cordova/lib/android/cordova/2.9.0/bin/create"  
"/home/mooreds/dev/ta/android2" "com.eightz.mobile" "8hoods" 
An unexpected error occurred: "$ANDROID_BIN" create project --target $TARGET 
--path "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY &>/dev/null 
exited with 1
Deleting project...



--
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