cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <>
Subject [jira] [Updated] (CB-4201) Android platform add fails if name element starts with a number
Date Tue, 16 Jul 2013 19:24:52 GMT


Filip Maj updated CB-4201:

          Component/s:     (was: CLI)
    Affects Version/s: 2.9.0
             Assignee: Joe Bowser  (was: Filip Maj)

Setting this to Android component, it is a (possible) problem with the underlying {{create}}

Assigning to Joe. 

Joe, is an Android Activity Name that starts with a number a valid activity name? If not:
then this is not a bug and can be closed. If so, we should try to figure out why we can't
create a project on *nix with a name that starts with a number.
> Android platform add fails if name element starts with a number
> ---------------------------------------------------------------
>                 Key: CB-4201
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.9.0
>         Environment: cordova 2.9.5
>            Reporter: Dan Moore
>            Assignee: Joe Bowser
>            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" "" "hoods"
> This fails:
> [mooreds@localhost neighborhoodapp]$ "/home/mooreds/.cordova/lib/android/cordova/2.9.0/bin/create"
 "/home/mooreds/dev/ta/android2" "" "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:

View raw message