How to Rename the Android Unity Game

 



Renaming an Android application game involves changing the name of the application package, which is essentially the unique identifier for your Android game app. Here's how you can do it:




1. Change the Bundle Identifier:


  • Go to File -> Build Settings.
  • In the Build Settings window, click on Player Settings.
  • In the Player Settings inspector, find the Other Settings section.
  • Change the Bundle Identifier to your desired package name. Make sure it follows the standard Java package naming conventions (e.g., com.yourcompany.yourapp).




2. Change the Application Name:


  • Modify the Product Name field to change the display name of your Android app.




3. Save the Changes:


  • Close the Player Settings inspector.


4. Build Your Project:


  • Go back to File -> Build Settings.
  • Select Android as the platform.
  • Click Build to create a new APK with the updated package and application name.


5. Update Your AndroidManifest.xml (Optional but Important):


  • After building your project, navigate to the Assets > Plugins > Android folder.
  • Inside this folder, you'll find AndroidManifest.xml.
  • Open this file with a text editor.
  • Make sure the <manifest> tag's package attribute matches the new package name you set in Unity Player Settings.


6. Rebuild and Test:


  • Save your changes to AndroidManifest.xml.
  • Rebuild your project by repeating step 5.
  • Install the APK on an Android device to test the changes thoroughly.








Happy coding



Previous Post Next Post

Contact Form