[
https://issues.apache.org/jira/browse/CB-4201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Filip Maj updated CB-4201:
--------------------------
Component/s: (was: CLI)
Android
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}} script.
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: https://issues.apache.org/jira/browse/CB-4201
> 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" "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