Android Question Package Name Error

jvetterli

Member
Licensed User
Longtime User
Hi,

I've just tried to change the package name to "com.77tests.test" resulting in a "invalid package name" error. It works if the "sub-package" doesn't start with a number.

An article in stackoverflow suggests to start the sub-package name with a leading "_", unfortunately this doesn't work for me in B4A.

Thanks
 

mangojack

Well-Known Member
Licensed User
Longtime User
Hi,
I've just tried to change the package name to "com.77tests.test" resulting in a "invalid package name" error. It works if the "sub-package" doesn't start with a number.

An article in stackoverflow suggests to start the sub-package name with a leading "_", unfortunately this doesn't work for me in B4A.
Thanks

I'll take a good guess its the " 77 " thats the problem

you can have "com.tests77.test" ... but not "com.77tests.test"
 
Upvote 0

jvetterli

Member
Licensed User
Longtime User
Yes, the trailing number(s) is the problem, and not a big issue, I'm just wondering why the suggested solution with a leading "_" doesn't work with b4a,
for example "com._77tests.test"
 
Upvote 0
Top