Phonegap does not change the package name

5

I'm using the Phonegap build to generate the APK.

However, when sending to the Play Store it says that the app name is "com.phonegap.ww".

I opened the APK with the APK Editor and it actually appears this name, however I have already changed the config.xml , the androidmanifest.xml , and there is no way the APK will be generated with the new name.

Can anyone help me?

    
asked by anonymous 15.04.2015 / 18:01

1 answer

1

When you created the project you could have passed the full package name as a parameter.

Here is a list of the files that might possibly change the name of the package that might resolve the problem. Especially those of the Ant-Build folder.

  • \config.xml
  • \platforms\android\AndroidManifest.xml
  • \platforms\android\ant-build\AndroidManifest.cordova.xml
  • \platforms\android\ant-build\proguard.txt
  • \platforms\android\res\xml\config.xml
  • \platforms\firefoxos\config.xml

Another option might be to create a new project with the same name and package path as you want.

Eg: cordova create Projeto1 br.com.exemplo.projeto1 Projeto1

Then copy the files from the www folder of your current project to the new www folder of the new project.

    
17.04.2015 / 03:35