You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Simon Males (JIRA)" <ji...@apache.org> on 2013/11/22 03:00:36 UTC
[jira] [Created] (CB-5465) Build failure on Android with ID or
names starting with digits
Simon Males created CB-5465:
-------------------------------
Summary: 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
Affects Versions: 3.1.0
Reporter: Simon Males
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#6144)