cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Matrosov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12438) Adding android platform gives the error : "Error: Error validating package name. Package name must look like: com.company.Name"
Date Thu, 09 Feb 2017 13:50:41 GMT

    [ https://issues.apache.org/jira/browse/CB-12438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859537#comment-15859537
] 

Nikita Matrosov commented on CB-12438:
--------------------------------------

[~sruthakeerthik], cordova-android validates your package name on matching with regular expression:
{code:javascript}
 /^[a-zA-Z][a-zA-Z0-9_]+(\.[a-zA-Z][a-zA-Z0-9_]*)+$/.
{code}  
Could you please provide what package name are you using?

> Adding android platform gives the error : "Error: Error validating package name. Package
name must look like: com.company.Name"
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-12438
>                 URL: https://issues.apache.org/jira/browse/CB-12438
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 6.4.0
>         Environment: MAC and LINUX. 
>            Reporter: Srutha Keerthi
>             Fix For: 6.4.0
>
>
> The version of cordova is '6.5.0' on running 'cordova --version'
> On installing the latest cordova using 'npm install -g cordova', creating a blank cordova
app and then trying to add platforms, on running 'cordova platform add android' the following
error occurs : <<Error: Error validating package name. Package name must look like:
com.company.Name>>.
> Windows and ios get added without any errors. This occurs only with the latest installation
of cordova. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message