Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12438

Adding android platform gives the error : "Error: Error validating package name. Package name must look like: com.company.Name"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 6.4.0
    • Fix Version/s: 6.4.0
    • Component/s: cordova-cli
    • Labels:
      None
    • Environment:

      MAC and LINUX.

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sruthakeerthik Srutha Keerthi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: