AJAX HTML Javascript jQuery PHP Example MORE
Need a Website Or Web Application Or Any Help.Contact Us: +91 9437911966 (Whatsapp) Note: Paid Service

How to change package name in Cordova


To change package the package name in cordova we need to changes in two file:

  1. config.xml
  2. AndroidManifest.xml

Please follow the below step to change:

Step 1:

Open the config.xml file and update the new package name in id attribute of the below line:

Step 2:

Open the command prompt

Then remove the android platform command: cordova platform remove android

And then re-add the android platform with command: cordova platform add android.

This will generate the .java file again with the correct name.

Thank You