Package name not reflected in project?

So… it seems that when you set the package name under Project > Properties > Deployment > Android it does not propagate the package name throughout.

Main activity is still part of com.mycompany.mygame

And, when you run a game in debug, if there is another game installed on your device with this package name (i.e. any JME game) it launches that instead.

I assume this is not working as intended?

Can someone give me a step-by-step of what needs to be updated to avoid this?

Thanks!

Yes it is working as intended, you set the name when you activate the android deployment and the created project gets a MainActivity according to the settings. Disable Android deployment and enable it again to recreate the project with different settings (or just change your android project as you would if you had not created it with a wizard).

1 Like