• Unity
  • Services
  • Made with Unity
  • Learn
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Forums
  • Answers
  • Feedback
  • Issue Tracker
  • Blog
  • Evangelists
  • User Groups

Navigation

  • Home
  • Unity
  • Industries
  • Made with Unity
  • Learn
  • Community
    • Forums
    • Answers
    • Feedback
    • Issue Tracker
    • Blog
    • Evangelists
    • User Groups
  • Get Unity
  • Asset Store

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
18
Question by Sajjoo · Aug 31, 2011 at 08:55 PM · android

Android: Bundle identifier has not been setup.

Hello, i am having problem setting up android in unity. i have given the android,s sdk path and its working and i have set the bundle identifier as com.Company name. product name in alphanumeric. but i am still getting this error. bundle identofier has not been setup.

can anyone please guide me to the right step? thanks

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Talimar · Aug 31, 2011 at 11:27 PM 1
Share

are you sure its com.company.product ? if it doesn't have all 3 it will complain.

7 Replies

· Add your reply
  • Sort: 
avatar image
52

Answer by anisabboud · Feb 16, 2015 at 01:21 AM

To set the bundle identifier,

  1. In the build settings ( Ctrl+Shift+B ), click "Player Settings..."

  2. Open the "Other Settings" menu.

  3. Update the "Bundle Identifier" field.

Ctrl+Shift+B -> Player Settings... -> Other Settings -> Bundle Identifier


bundle-identifier.png (119.9 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
11
Wiki

Answer by Bunny83 · Jan 18, 2014 at 12:59 PM

A vaild bundle identifier need to apply to this 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.

In general the bundle identifier is bound to the same rules as a Java package name or a .NET namespace.

To set the bundle identifier, open the player settings (Edit->Project Settings->Player) and open the android-per-platform tab:

player settings

Comment
Add comment · Show 8 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Jakeru · Jan 18, 2014 at 06:39 PM 1
Share

Yes, that is like unity error messages defines format, but still it wont work.

avatar image josh.galher · Nov 25, 2015 at 11:44 AM 1
Share

The d*** Player settings button didnt work. (Edit->Project Settings->Player) worked for me. It is my first day with Unity and I am starting to get the same treacherous feeling I got with Eclipse. with little bugs here and there.

avatar image MundaringCC-CodingClub · Feb 11, 2016 at 12:23 AM 0
Share

YES THANK YOU!

avatar image jgwinner · Jan 20, 2017 at 04:04 AM 0
Share

I can't get this to work, as "Identification" doesn't show up in one of my projects (it does on the other).

There's nothing in the docs that explains why it appears or disappears.

Any ideas?

No ID Section

unitynoidsection.jpg (59.2 kB)
avatar image jgwinner jgwinner · Jan 20, 2017 at 04:13 AM 0
Share

Ah! I figured it out. For some reason, the focus in the player settings had changed, and even though "Android" was selected as the current build, it shows the build settings for whatever you'd clicked on. So to make the "Identification" section show up, you just have to click on iOS settings or Android settings.

Not sure how I could have setup the default to be Android and had some other platform selected; but that did duplicate it. Just select "Android" or "iOS" for the Identification section to show up.

avatar image jgwinner jgwinner · Jan 20, 2017 at 04:22 AM 0
Share

I can duplicate this bug with 5.6.0b3, submitted.

Steps to reproduce: 1. Click on "Android" 2. Click "Switch Platform" 3. Click "Player settings" 4. the "Identification" section will be missing.

Work around: 1. After step 4, click on 'PC' then back on 'Android' ... then 'Player settings' and the Identification section will show up.

This is reproducible; screenshots submitted.

Show more comments
avatar image
7

Answer by daviZdestruidor · May 09, 2014 at 06:12 PM

here ia a tip that you can put to work and copile your game "com.android.game" and is gone work!!!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by p_unity · May 07, 2015 at 11:15 AM

I realise this is old but someone might find it useful..

I had the same error and the format wasnt the problem is was the fact that the company name and product name in the bundle identifier MUST MATCH the product name and company name in the player settings (the ones at the top)

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bunny83 · May 08, 2015 at 01:04 AM 1
Share

That's simply not true. I've done this before but to make sure i just created an android build of my current project. I simply added "TestBuild" to the bundle identifier and it still builds without any problems even though my product name has a different value

The only requirement from Unity is that you enter something different from the default one. There is actually no true "rule" what the bundle identifier has to contain beside the allowed characters and that it has at least 3 parts. You can also use an identifier like:

 "this.is.my.unique.bundle.identifier"

Google just suggest to use reverse domain format to avoid conflicts with other peoples identifiers. It's actually better to have a longer identifier (with more than 3 parts). If you have a website you might want to start your identifier with that in reverse order.

So if you have a website called http://mydomain.com

you might want to use something like this:

 "com.mydomain.gamename"

or

 "com.mydomain.android.gamename.edition"

Personally i start all my bundleidentifiers either with

 de.B83.xxxxx

or

 de.B83.android.xxxxx
avatar image BetMaxx · May 12, 2018 at 02:57 PM 0
Share

thank you. it's works.

avatar image
0

Answer by ahmed1288 · Aug 19, 2017 at 10:11 AM

In the build settings ( Ctrl+Shift+B ), click "Player Settings..."

Open the "Other Settings" menu.>>> and update company name and product namealt text


2.png (17.1 kB)
1.png (39.1 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

18 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Differences between Android and iOS graphics 0 Answers

Combine two ETC textures with custom shader (one with alpha) 1 Answer

Mono.Data.Sqlite.SqliteException: Unable in to open the database file 1 Answer

Unity 5 input field unable to store user input 1 Answer

Can anybody list the supported push notification services and in App purchase services with Unity3D ? 3 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges