I want to use capital letters in android project package name. So can we use capital letters in package name?
3 Answers
In my opinion, you should not use capital letters in package name.
You will not be able to build the application with package name having capital letters in MAC and Windows.
So always use small letters for package name.

- 415
- 6
- 20
-
5This is not true, I use android studio in windows and have a package name with some captial letters. Everything works – Mike76 Sep 01 '16 at 21:15
-
-
I'm experiencing problems due to capital letters in package name right now, so I wouldn't recommend it as well – Hylle Feb 18 '22 at 00:36
-
I accidentally published an app with capital letters in the package name, however, I had to remove it and republish it with lower case package name, because I couldn't link the app with AdMob with capital letters. – ZP007 Apr 02 '22 at 15:17
Yes you can.
A full Java-language-style package name for the application. The name should be unique. The name may contain uppercase or lowercase letters ('A' through 'Z'), numbers, and underscores ('_'). However, individual package name parts may only start with letters.
For more detailed information, click here.

- 9,564
- 146
- 81
- 122

- 28,348
- 10
- 61
- 77
You can, but trust me you don't want to. Not only does it break convention, it can cause real problems. For example in android, android studio won't support it. This means if you switch IDEs, your code might not compile.
Best practice is to just stick to lower case and convention.

- 467
- 1
- 9
- 19