[
https://issues.apache.org/jira/browse/CB-5465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser updated CB-5465:
---------------------------
Component/s: CLI
Priority: Minor (was: Major)
> Build failure on Android with ID or names starting with digits
> --------------------------------------------------------------
>
> Key: CB-5465
> URL: https://issues.apache.org/jira/browse/CB-5465
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, CLI
> Affects Versions: 3.1.0
> Reporter: Simon Males
> Priority: Minor
> Attachments: out
>
>
> It is not possible to build Android if the ID or application name begins with
> a digit. As per Java identifiers
> (http://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html#jls-3.8):
> {noformat}
> An identifier is an unlimited-length sequence of Java letters and Java
> digits, the first of which must be a Java letter.
> {noformat}
> Though this is not a problem for iOS.
> I believe it should be flagged to the user upon creation that it is not
> supported.
> Though is does limit the ability of creating an application with the name
> '1Password' (for example).
> {noformat}
> $ cordova create numbers com.12345.app "12345"
> $ cd numbers/
> $ cordova platform add android
> $ cordova build android
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)