You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2015/06/15 22:53:01 UTC

[jira] [Resolved] (CB-5465) Build failure on Android with ID or names starting with digits

     [ https://issues.apache.org/jira/browse/CB-5465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-5465.
----------------------------
    Resolution: Fixed

This appears to be fixed on the CLI, closing.

> 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.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org