Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Capital characters in Android Project Packagename

Tags:

android

I want to use capital letters in android project package name. So can we use capital letters in package name?

like image 625
UnoIndia Avatar asked Dec 17 '25 17:12

UnoIndia


2 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.

like image 120
iRoid Solutions Avatar answered Dec 20 '25 10:12

iRoid Solutions


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.

like image 31
Bqin1 Avatar answered Dec 20 '25 11:12

Bqin1



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!