Invalid APK on package name posting

Asked

Viewed 211 times

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.
meu pacote

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 :)

  • 1

    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.

  • Beauty, thanks to @Geferson :)

  • 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?

  • No, it only generates an example class (test) when creating the project, then no more. dai is on account of the programmer hehe :)

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.