I am making a game on Unity following this tutorial on YouTube:
I am brand new to Unity and Android Game Development, in the video I got to 35:16 and we are building the scenes and I clicked build and it is starting to load but when it gets to half-way done I get this error as seen in the image "Package Name has not been set up correctly
Please set the Package Name in the Player Settings. The value must follow the convention 'com.YourCompanyName.YourProductName' and can contain alphanumeric characters and underscore. Each segment must not start with a numeric character or underscore."
Now, I am a 13 year old developer so I am quite young, I am not understanding what it is asking me to do and I don't know how to fix it, if a person could help me I would be so greatful... If needed we could go on Discord, Skype or Team Viewer to help me.
In the latest Unity version, to fix that problem you need to go to Edit > Project Settings > Player . Because you're building for Android, you select the Android icon. We can find, under Identification, Package Name. The Package Name has to follow some rules.
We recommend you always put a name on the package, preferably the correct name, to avoid misdelivery, failed delivery attempts, lost packages, or similar.
As an Android Developer, you should know that the Package Name that you choose for your app is very important. We are referring to the Package Name of the application which we declare in the Manifest. xml rather than the Java package name (although they will be identical).
To check whether your package name is in use on the Play Store, use the Play Store, with a URL of https://play.google.com/store/apps/details?id=your.package.name.goes.here . You will need to contact the other "major apk markets" to see if they offer a similar facility.
In the latest Unity version, to fix that problem you need to go to Edit > Project Settings > Player .
Because you're building for Android, you select the Android icon.
We can find, under Identification, Package Name.
The Package Name has to follow some rules.
Domain like structure with at least 3 parts. Usually start with "com.COMPANY.APPNAME"
You can use alphanumeric characters and underscores only.
Each domain level must not start with a number.
For instances, you can change to "com.android.game".
This fixes the problem.
Edit > Project Settings > Player. There should be a textbox in there labeled "Bundle Identifier" set it to something like "com.Fireboy.MyFirstGame" and then build.
Also, when you're ready to release to production you'll need to use the "Publish Settings" section to sign your apk in release mode. By default Unity signs it in Debug mode, which Google Play will not allow you to submit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With