- Home /
How to change package name in Unity3d
Recently i create my first app and the create an apk file to upload on goolge play. after uploading google saied uploading is failed because :
Upload failed
You uploaded an APK that was signed in debug mode. You need to sign your APK in release mode. Learn more about signing.
You need to use a different package name because "com.jirbo.unitytest" already exists in Google Play.
so my question is how to i change com.jirbo.unitytest to my company package name ?
Good morning, I have a similar problem, I saved and published a package in 2019 com.companyname only and in 2021 it does not accept, only com.companyname.appname and for this reason the play console does not accept the app, it says I have to save like the first time com.companyname.
@fbireis78 are you sure that the package was actually published as com.companyname? As far as I know the format of com.companyname.appname was always required, even in 2019.
In any case, you need to follow the steps in my answer below to create a valid Bundle Identifier (Package Name). After you do that, the new package (.abb) should be accepted. If it doesn't get accepted for some reason, you'll probably have to create a new game in the Play store.
Normally, and if I remember well, you can't change the package name, after you have already published an app with a specific package name. But as I have already said, it seems quite weird that your package was accepted before, without being in the com.companyname.appname format.
Hi Pako thanks for the reply.
Actually I recorded the package I think it was in 2018.
I actually only recorded to com.companyname.
I didn't find another solution other than creating another app with the same content, I ask if you guys know if there is a way to redirect the link from the old app to the new one?
Answer by pako · Sep 05, 2015 at 04:58 PM
In the menus click Edit/Project Settings/Player. The Player Settings will open in the Inspector area. In the Identification section, change the "Bundle Identifier" field to you own package name, usually of the form : com.YouCompanyName.YourGameName.
You should also use the "Publishing Settings" section to sign your apk in release mode (by default it's debug mode).
After changing the bundle identifier field, be sure to select a different field to finalize your change.
@WOOYU what you are saying is not specific to this question. It is applicable to all Inspector fields where you need to input a value. Please also note that it's not necessary to select a different field to finalize your change. Ins$$anonymous$$d, you can just click the "Enter" key on your keyboard.