0
I’m trying to generate an apk so I can publish my app in the store, but when I sent a message saying that the package name was invalid, because the name ". android" is restricted. Then I changed the name of the package where the classes were. But my app has two packages, as shown in the image.
I want to know if this package (androidTest) is created automatically, if when Gero an apk it is included, or if I can delete it without bringing problems to my project...
Thank you :)
Yes android studio generates the package and a Test class automatically. If deleting will not cause problems, but the ideal is to develop test classes to improve the quality of the code and find errors before going into production. and therefore have a software with higher quality =). But you can delete.
– Geferson
Beauty, thanks to @Geferson :)
– Robledo Gomes
Hey @Geferson something else: Does it enter the APK package when it is generated? Because if I delete it and continue developing the app, it will generate another test of this?
– Robledo Gomes
No, it only generates an example class (test) when creating the project, then no more. dai is on account of the programmer hehe :)
– Geferson