Reputation: 5480
According to the Android documentation, the example which is given for an applicationId
is like this:
package="com.example.app
I have created an application which has the following style however:
myName.appname
Would this cause an issue with anything apart from it potentially not being unique.
Upvotes: 0
Views: 331
Reputation: 1006564
The applicationId
is independent from the package
attribute in the <manifest>
. The default value for the applicationId
is the package
attribute value, but you can override that in build.gradle
. The package
attribute is used for code generation of things like R
and BuildConfig
. The applicationId
is what controls uniqueness. I would recommend that you set the applicationId
to be something that is less likely to result in an accidental name collision, such as a domain name, even if you continue using your current value for your package
.
I also worry a bit about mixed case, as there may be things that assume all lowercase characters in the application ID.
On the whole, the application ID does not have to be a domain name. It's just a good idea.
Upvotes: 1
Reputation: 3520
It will not cause any issues. The reason google asks for web address in package name is only for its uniqueness.
Upvotes: 1