0

My project name contains ".", so the package name is not really valid since it was "P.C.P.P.C.P" (my project name is "P.C.P").

I edited it in the AndroidManifest.xml and it works pretty well- the pakcage name is now valid and the app runs perfectly on my phone.

  • Note that I use Xamarin and not Android Studio.

So is it actually valid to change the package name in this way?

Daniel Reyhanian
  • 579
  • 4
  • 26

1 Answers1

1

To change your package name for your Xamarin app, you need to manually change the package name by going to the AndroidManifest.xml and change the package attribute.

The AndroidManifest.xmlfile is available under

[Solution Name]>[App Name]>Properties>AndroidManifest.xml in your solution explorer.

The app will then need to be rebuilt for the package name change to take effect.

Bruno Caceiro
  • 7,035
  • 1
  • 26
  • 45